Philip Siegrist
2005-Jan-06 15:56 UTC
[Asterisk-Users] Sip providor reference in extentions.conf
Hi,
I am stuck. :( I am attempting to use a 3rd party voip company for LD
calling by doing the following:
sip.conf
[newtel]
type=peer
host=sip1.newtel.net
nat=yes
disallow=all
allow=g729
extentions.conf:
[newtel]
exten => _81.,1,DIAL(SIP/${EXTEN:1}@newtel)
exten => _81.,2,Congestion
In this case Newtel does not need authentication, It identifies by my
sending IP. The problem is SIP/${EXTEN:1}@newtel does not reference
the host line in sip.conf entry for newtel. Looking at the firewall it
tries to connect to uslec-66-255-165-3.cust.uslec.net.sip.
If i replace the SIP/${EXTEN:1}@newtel with
SIP/${EXTEN:1}@sip1.newtel.net it does correctly attempt to contact
this host. however, I need to set options in sip.conf such as g729
codec, so this does not resolve my problem.
If someone can help me I will buy you a pony.
Thanks
Ryan Courtnage
2005-Jan-06 16:13 UTC
[Asterisk-Users] Sip providor reference in extentions.conf
On Thu, 2005-06-01 at 17:56 -0500, Philip Siegrist wrote:> Hi, > > I am stuck. :( I am attempting to use a 3rd party voip company for LD > calling by doing the following: > > sip.conf > > [newtel] > type=peer > host=sip1.newtel.net > nat=yes > disallow=all > allow=g729 > > extentions.conf: > > [newtel] > exten => _81.,1,DIAL(SIP/${EXTEN:1}@newtel) > exten => _81.,2,CongestionI think that your DIAL command should be: DIAL(SIP/newtel/${EXTEN:1})> If someone can help me I will buy you a pony.medium-rare please ;-) Ryan
Philip Siegrist
2005-Jan-06 16:34 UTC
[Asterisk-Users] Sip providor reference in extentions.conf
On Thu, 6 Jan 2005 18:30:40 -0500, Philip Siegrist <psiegrist@gmail.com> wrote:> On Thu, 06 Jan 2005 16:13:38 -0700, Ryan Courtnage <ryan-lists@voxbox.ca> wrote: > > On Thu, 2005-06-01 at 17:56 -0500, Philip Siegrist wrote: > > > Hi, > > > > > > I am stuck. :( I am attempting to use a 3rd party voip company for LD > > > calling by doing the following: > > > > > > sip.conf > > > > > > [newtel] > > > type=peer > > > host=sip1.newtel.net > > > nat=yes > > > disallow=all > > > allow=g729 > > > > > > extentions.conf: > > > > > > [newtel] > > > exten => _81.,1,DIAL(SIP/${EXTEN:1}@newtel) > > > exten => _81.,2,Congestion > > > > I think that your DIAL command should be: > > > > DIAL(SIP/newtel/${EXTEN:1}) > > > > > If someone can help me I will buy you a pony. > > > > medium-rare please ;-) > > > > Ryan > > > > > > No Pony for you :(.... same thing. > > Here is asterisk: > > Executing Dial("SIP/Phil-f9c7", "SIP/newtel/16175554569") in new stack > -- Called newtel/16175554569 > WARNING[16517]: chan_sip.c:687 retrans_pkt: Maximum retries exceeded > on call 0d93ecd72c6cd45d42cc18482f739059@172.17.2.10 for seqno 102 > (Critical Request) > == No one is available to answer at this time (1, 0/0/0) > > This is the packet from the firewall: > > 16:56:32.665476 IP 172.17.2.10.sip > > uslec-66-255-165-3.cust.uslec.net.sip: UDP, length: 703 > > It just wont refer to the host. >No Pony for you :(.... same thing. Here is asterisk: Executing Dial("SIP/Phil-f9c7", "SIP/newtel/16175554569") in new stack -- Called newtel/16175554569 WARNING[16517]: chan_sip.c:687 retrans_pkt: Maximum retries exceeded on call 0d93ecd72c6cd45d42cc18482f739059@172.17.2.10 for seqno 102 (Critical Request) == No one is available to answer at this time (1, 0/0/0) This is the packet from the firewall: 16:56:32.665476 IP 172.17.2.10.sip > uslec-66-255-165-3.cust.uslec.net.sip: UDP, length: 703 It just wont refer to the host. p.s. ryan. sorry for the dup messages.
Philip Siegrist
2005-Jan-06 16:45 UTC
[Asterisk-Users] Sip providor reference in extentions.conf
On Thu, 6 Jan 2005 18:34:03 -0500, Philip Siegrist <psiegrist@gmail.com> wrote:> On Thu, 6 Jan 2005 18:30:40 -0500, Philip Siegrist <psiegrist@gmail.com> wrote: > > On Thu, 06 Jan 2005 16:13:38 -0700, Ryan Courtnage <ryan-lists@voxbox.ca> wrote: > > > On Thu, 2005-06-01 at 17:56 -0500, Philip Siegrist wrote: > > > > Hi, > > > > > > > > I am stuck. :( I am attempting to use a 3rd party voip company for LD > > > > calling by doing the following: > > > > > > > > sip.conf > > > > > > > > [newtel] > > > > type=peer > > > > host=sip1.newtel.net > > > > nat=yes > > > > disallow=all > > > > allow=g729 > > > > > > > > extentions.conf: > > > > > > > > [newtel] > > > > exten => _81.,1,DIAL(SIP/${EXTEN:1}@newtel) > > > > exten => _81.,2,Congestion > > > > > > I think that your DIAL command should be: > > > > > > DIAL(SIP/newtel/${EXTEN:1}) > > > > > > > If someone can help me I will buy you a pony. > > > > > > medium-rare please ;-) > > > > > > Ryan > > > > > > > > > > No Pony for you :(.... same thing. > > > > Here is asterisk: > > > > Executing Dial("SIP/Phil-f9c7", "SIP/newtel/16175554569") in new stack > > -- Called newtel/16175554569 > > WARNING[16517]: chan_sip.c:687 retrans_pkt: Maximum retries exceeded > > on call 0d93ecd72c6cd45d42cc18482f739059@172.17.2.10 for seqno 102 > > (Critical Request) > > == No one is available to answer at this time (1, 0/0/0) > > > > This is the packet from the firewall: > > > > 16:56:32.665476 IP 172.17.2.10.sip > > > uslec-66-255-165-3.cust.uslec.net.sip: UDP, length: 703 > > > > It just wont refer to the host. > > > > No Pony for you :(.... same thing. > > Here is asterisk: > > Executing Dial("SIP/Phil-f9c7", "SIP/newtel/16175554569") in new stack > -- Called newtel/16175554569 > WARNING[16517]: chan_sip.c:687 retrans_pkt: Maximum retries exceeded > on call 0d93ecd72c6cd45d42cc18482f739059@172.17.2.10 for seqno 102 > (Critical Request) > == No one is available to answer at this time (1, 0/0/0) > > This is the packet from the firewall: > > 16:56:32.665476 IP 172.17.2.10.sip > > uslec-66-255-165-3.cust.uslec.net.sip: UDP, length: 703 > > It just wont refer to the host. > > p.s. ryan. sorry for the dup messages. >User error, Problem solved both syntaxt were correct. It was a dns issue. Ponies for all. Thanks