Ronald Wiplinger
2005-May-17 07:33 UTC
[Asterisk-Users] peering with friendly networks, ...
How can I setup my server to peer with other friendly networks. I saw on FWD, that with a prefix of **NNN you can go to another (friendly) network. Appending the users phone number would reach this number. How can I set this up with some friendly networks? In the case of FWD, I could use my own FWD number, but that is not usefull to be reachable, nor would it be good that all my users would appear as "me", ... bye Ronald
Nabeel Jafferali
2005-May-17 08:30 UTC
[Asterisk-Users] peering with friendly networks, ...
> How can I set this up with some friendly networks?On your side, assuming your extensions are numbers 2XX. [outgoing] exten => *393.,1,Dial(SIP/fwd.pulver.com/${EXTEN:4}) [default] exten => _2XX,1,Goto(internal,${EXTEN},1) On their side, ask them to send calls using your prefix, for example *356 200, to, for example, 200@sip.elmit.com. -- Nabeel Jafferali X2 Networks www.x2n.ca T: 1.647.722.6900 1.877.VOIP.X2N F: 1.866.655.6698 FWD: 46990
Ronald Wiplinger
2005-May-18 17:23 UTC
[Asterisk-Users] peering with friendly networks, ...
Nabeel Jafferali wrote:>>How can I set this up with some friendly networks? >> >> > >On your side, assuming your extensions are numbers 2XX. > >[outgoing] >exten => *393.,1,Dial(SIP/fwd.pulver.com/${EXTEN:4}) > >[default] >exten => _2XX,1,Goto(internal,${EXTEN},1) > >On their side, ask them to send calls using your prefix, for example *356 >200, to, for example, 200@sip.elmit.com. > >How about sip.conf? or iax2.conf? bye Ronald
Nabeel Jafferali
2005-May-18 18:11 UTC
[Asterisk-Users] peering with friendly networks, ...
> >On your side, assuming your extensions are numbers 2XX. > > > >[outgoing] > >exten => *393.,1,Dial(SIP/fwd.pulver.com/${EXTEN:4}) > > > >[default] > >exten => _2XX,1,Goto(internal,${EXTEN},1) > > > >On their side, ask them to send calls using your prefix, for example *356 > >200, to, for example, 200@sip.elmit.com.> How about sip.conf? or iax2.conf?As long as [default] is the context in [general] in sip.conf, I believe it should work. -- Nabeel Jafferali X2 Networks www.x2n.ca T: 1.647.722.6900 1.877.VOIP.X2N F: 1.866.655.6698 FWD: 46990
Ronald Wiplinger
2005-May-19 15:56 UTC
[Asterisk-Users] peering with friendly networks, ...
Nabeel Jafferali wrote:>>>On your side, assuming your extensions are numbers 2XX. >>> >>>[outgoing] >>>exten => *393.,1,Dial(SIP/fwd.pulver.com/${EXTEN:4}) >>> >>>[default] >>>exten => _2XX,1,Goto(internal,${EXTEN},1) >>> >>>On their side, ask them to send calls using your prefix, for example *356 >>>200, to, for example, 200@sip.elmit.com. >>> >>> > > > >>How about sip.conf? or iax2.conf? >> >> > >As long as [default] is the context in [general] in sip.conf, I believe it >should work. > > > >That is bad, because I wanted to declair "default" as an error, ... meaning, I want each connection to be in a predefined context. If not, than it is an error. bye Ronald