[Asterisk-Users] sip outgoing calls over proxy

Peter Molnar pm at wm.sk
Sat Jan 21 15:01:24 MST 2006


Hello,

I'am configuring my asterisk (located behind a dsl router with nat) to act as 
gateway between sip and an home switching system connected over a X100P 
compatible winmodem.

I use register => to register asterisk as client at a SIP proxy. 

If i use the Dial command in extensions.conf to dial SIP/foo at baz.tld, the 
calle sees pm@<IP of dsl router> as the source of the call. So I tried to 
route outgoing SIP calls over the proxy my SIP account

in sip.conf

[outgoing]
language=en
type=peer
secret=...
username=pm
host=XXX
fromuser=pm
fromdomain=XXX
nat=yes
dtmfband=inband
canreinvite=no
insecure=very

Dial(SIP/USER at outgoing) works fine for users registred at the same proxy as 
me. But how do i do something like Dial(SIP/foo at bar.com@outgoing)? Dialing 
any sip url over a peer?

Peter



More information about the asterisk-users mailing list