login | register
Wed 01 of Aug, 2007 [09:24 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.

Web www.voip-info.org
Shoutbox
  • Aykut, Wed 01 of Aug, 2007 [07:53 UTC]: Hi all, does anybody know about Thomson ST2030 SIP phone. I have upgraded it to latest version (1.56) but "Hold" and "Conf" features are not working after the upgrade ?? Do you know any solution or do you have Ver. 1.52 ?? Where can I find it?
  • Edward J Brown, Tue 31 of Jul, 2007 [23:33 UTC]: Has anybody experienced Choppy voice quality when using a Linksys SPA942 in an Asterisk Conference bridge? It works fine with my polycom and Cisco, but sucks with my Linksys.
  • www.astawerks.com, Fri 27 of Jul, 2007 [18:00 UTC]: does anyone use asterisk on top of clark connect? does it work good?
  • simon, Fri 27 of Jul, 2007 [14:16 UTC]: Hi All, Has anyone here managed to get the Cisco79x1 to successfully fail over to the backup proxy. I have 2 asterisk servers , handsets all register and function, except that backup proxy function doesn't work. Any working example would be very apprecia
  • Matthew Richmond, Thu 26 of Jul, 2007 [03:40 UTC]: using the page() application to page across our building...often the meetme conferences don't disconnect after the caller hangs up. Anyone else having this problem. (using Polycom phones)
  • Matthew Richmond, Wed 25 of Jul, 2007 [02:58 UTC]: thanks Nicholas Blasgen! I haven't worked with AGI before, but there's always a first! Thanks again!
  • Nicholas Blasgen, Tue 24 of Jul, 2007 [19:18 UTC]: Matthew Richmond, AGI will handle all that for you.
  • sam, Mon 23 of Jul, 2007 [16:39 UTC]: need help - certain voicemail extension will stop working and recording voicemail on asterisk - anyone know why and how to fix it? Thanks
  • john haji, Mon 23 of Jul, 2007 [14:55 UTC]: free calls to pakistan
  • bong, Sat 21 of Jul, 2007 [19:09 UTC]: hi good day to all can anyone help me how to configured the nortel sip to the signaling server and how to activate in mobile w/ sip compatible without mcs
Server Stats
  • Execution time: 0.39s
  • Memory usage: 2.19MB
  • Database queries: 31
  • GZIP: Disabled
  • Server load: 2.93

Asterisk Connect 2 servers

Method 1
Receiving Server (iax.conf)
[REC_SERVER]
type=user
host=my.calling.server.ca
secret=mysecret
context=local
trunk=yes

Sending Server (extensions.conf)
[mycontext]
exten => _5XXX,1,Dial(IAX2/REC_SERVER:mysecret@my.receiving.server.ca/${EXTEN}@local)
exten => _5XXX,2,Hangup
exten => _5XXX,102,Hangup

Any call in the mycontext context on Calling Server to extensions 5000-5999 (mapped by extension _5XXX) will get sent to receiving server (my.receiving.server.ca) into the local context on the receiving server.

Performing the same configuration in the opposite direction will allow cross-calls between Asterisk systems.

Pros:
Simple, all references in one file per server.

Cons:
Information in dialing string will appear in logs inclusive of user:password. Dial string becomes very long.

Method 2
Receiving Server (iax.conf)
[REC_SERVER]
type=user
host=my.calling.server.ca
secret=mysecret
context=local
trunk=yes

Sending Server (iax.conf)
[REMOTE_SERVER]
type=peer
host=my.receiving.server.ca
secret=mysecret
context=local

Sending Server (extensions.conf)
[mycontext]
exten => 5XXX,1,Dial(IAX2/REMOTE_SERVER/${EXTEN})
exten => _5XXX,2,Hangup
exten => _5XXX,102,Hangup

Pros:
User:Password are stored in the calling server's iax.conf file and not part of the Dial string. This is more secure in that they are not recorded in log in files.Dial strings much shorter and concise.

Cons:
Calling server now must have iax.conf and extensions.conf coordinated making setup a little more complicated. Must user type= definition correctly: Caller = peer; Receiver = user. type=friend is a bi-directional relationship meaning both peer and user at the same time.

Method 3
Register command
If the calling server does not have a fixed IP address or DNS namespace then the iax.conf file description of the calling server located on the receiving server should specify host=dynamic.

If the calling server host is specified as dynamic, the calling server must register with the receiving server with the register command.

Receiving Server (iax.conf)
[REC_SERVER]
type=user
host=dynamic
secret=mysecret
context=local
trunk=yes

Sending Server (iax.conf)
[general]
register => REC_SERVER:mysecret@my.receiving.server.ca

[REMOTE_SERVER]
type=peer
host=dynamic
context=local

Sending Server (Extensions.conf)
[mycontext]
exten => 5XXX,1,Dial(IAX2/REMOTE_SERVER/${EXTEN})
exten => _5XXX,2,Hangup
exten => _5XXX,102,Hangup
Created by dbcookcan, Last modification by Mitchell Jackson on Wed 10 of May, 2006 [15:27 UTC]

Comments Filter

by Mitchell Jackson on Wednesday 10 of May, 2006 [16:00:42 UTC]

error?

by Mark Stoddard on Wednesday 18 of January, 2006 [17:14:41 UTC]
shouldn't context be mycontext instead of local on the Sending Server in iax.conf?

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2007 Arte Marketing, Inc.

Powered by bitweaver