Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Gateway Outbound Dial Config Problem


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
fdhege at gmail.com
Guest





PostPosted: Fri May 08, 2009 3:05 pm    Post subject: [Freeswitch-users] Gateway Outbound Dial Config Problem Reply with quote

Hello,

I am trying to get a new freeswitch installation working and I have it
registering to a sip provider just fine and can receive inbound calls
but when I try and place a call out through the gateway the switch is
rejecting it due to the domain in the to of the INVITE.

Here is the INVITE

15:15:19.467351 IP (tos 0x0, ttl 64, id 40045, offset 0, flags
[none], proto: UDP (17), length: 1398) 207.4.223.35.5080 >
207.16.137.36.sip: SIP, length: 1370
INVITE sip:16173800299@207.16.137.36 SIP/2.0
Via: SIP/2.0/UDP 207.4.223.35:5080;rport;branch=z9hG4bKcc3a14Zcg8NZp
Max-Forwards: 69
From: "FreeSWITCH" <sip:
6172384723@172.16.12.100;transport=udp>;tag=54FXray2SNaKN
To: <sip:18023800299@207.16.137.36>
Call-ID: 6956c6eb-b6a7-122c-5fb1-725bd701687a
CSeq: 114786724 INVITE

Here is the REGISTER for the same gateway

15:24:27.746984 IP (tos 0x0, ttl 64, id 40075, offset 0, flags
[none], proto: UDP (17), length: 661) 207.4.223.35.5080 >
207.16.137.36.sip: SIP, length: 633
REGISTER sip:207.16.137.36;transport=udp SIP/2.0
Via: SIP/2.0/UDP 207.4.223.35:5080;rport;branch=z9hG4bK9H0SmN8jvavXp
Max-Forwards: 70
From: <sip: 6172384723@172.16.12.100;transport=udp>;tag=3jXBNmvUZ3XDe
To: <sip: 6172384723@172.16.12.100;transport=udp>

Here is my gateway config

<gateway name="voip1">
<param name="username" value="6172384723" />
<param name="password" value="testme" />
<param name="realm" value="172.16.12.100" />
<param name="proxy" value="207.16.137.36"/>
<param name="register-proxy" value="207.16.137.36"/>
<param name="register" value="true" />
<param name="stun-enabled" value="false"/>
<param name="from-domain" value="172.16.12.100"/>
<param name="aggressive-nat-detection" value="false"/>
</gateway>

Here is the bridge from the dialplan

<action application="bridge" data="sofia/gateway/voip1/1$1"/>

I'm currently running FreeSWITCH Version 1.0.trunk (13226M).

I hunted around trying to find another option in for the gateway
config that would set the to domain to the realm and still send the
packet to proxy but could not find one.

Any help/hints are welcome.

Thanks,

-Dale

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri May 08, 2009 5:47 pm    Post subject: [Freeswitch-users] Gateway Outbound Dial Config Problem Reply with quote

What does your dialplan entry look like? Also, a debug trace and even a sip trace would be useful. You can use pastepin.freeswitch.org to paste a lot of stuff in a place where everyone can view it and not overwhelm the email list.

-MC

On Fri, May 8, 2009 at 12:36 PM, Dale <fdhege@gmail.com (fdhege@gmail.com)> wrote:
Quote:

Hello,

I am trying to get a new freeswitch installation working and I have it
registering to a sip provider just fine and can receive inbound calls
but when I try and place a call out through the gateway the switch is
rejecting it due to the domain in the to of the INVITE.

Here is the INVITE

15:15:19.467351 IP (tos 0x0, ttl  64, id 40045, offset 0, flags
[none], proto: UDP (17), length: 1398) 207.4.223.35.5080 >
207.16.137.36.sip: SIP, length: 1370
       INVITE sip:16173800299@207.16.137.36 ([email]sip%3A16173800299@207.16.137.36[/email]) SIP/2.0
       Via: SIP/2.0/UDP 207.4.223.35:5080;rport;branch=z9hG4bKcc3a14Zcg8NZp
       Max-Forwards: 69
       From: "FreeSWITCH" <sip:
6172384723@172.16.12.100 (6172384723@172.16.12.100);transport=udp>;tag=54FXray2SNaKN
       To: <sip:18023800299@207.16.137.36 ([email]sip%3A18023800299@207.16.137.36[/email])>
       Call-ID: 6956c6eb-b6a7-122c-5fb1-725bd701687a
       CSeq: 114786724 INVITE

Here is the REGISTER for the same gateway

15:24:27.746984 IP (tos 0x0, ttl  64, id 40075, offset 0, flags
[none], proto: UDP (17), length: 661) 207.4.223.35.5080 >
207.16.137.36.sip: SIP, length: 633
       REGISTER sip:207.16.137.36;transport=udp SIP/2.0
       Via: SIP/2.0/UDP 207.4.223.35:5080;rport;branch=z9hG4bK9H0SmN8jvavXp
       Max-Forwards: 70
       From: <sip: 6172384723@172.16.12.100 (6172384723@172.16.12.100);transport=udp>;tag=3jXBNmvUZ3XDe
       To: <sip: 6172384723@172.16.12.100 (6172384723@172.16.12.100);transport=udp>

Here is my gateway config

<gateway name="voip1">
          <param name="username" value="6172384723" />
          <param name="password" value="testme" />
          <param name="realm" value="172.16.12.100" />
          <param name="proxy" value="207.16.137.36"/>
          <param name="register-proxy" value="207.16.137.36"/>
          <param name="register" value="true" />
          <param name="stun-enabled" value="false"/>
          <param name="from-domain" value="172.16.12.100"/>
          <param name="aggressive-nat-detection" value="false"/>
    </gateway>

Here is the bridge from the dialplan

    <action application="bridge" data="sofia/gateway/voip1/1$1"/>

I'm currently running FreeSWITCH Version 1.0.trunk (13226M).

I hunted around trying to find another option in for the gateway
config that would set the to domain to the realm and still send the
packet to proxy but could not find one.

Any help/hints are welcome.

Thanks,

-Dale

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
fdhege at gmail.com
Guest





PostPosted: Fri May 08, 2009 6:56 pm    Post subject: [Freeswitch-users] Gateway Outbound Dial Config Problem Reply with quote

Thanks for the response. Of course after sending the email I find the problem. The account was not properly setup on the other end to place outbound calls. So everything is working now.


Thanks,


-Dale

On May 8, 2009, at 6:45 PM, Michael Collins wrote:
Quote:
What does your dialplan entry look like? Also, a debug trace and even a sip trace would be useful. You can use pastepin.freeswitch.org to paste a lot of stuff in a place where everyone can view it and not overwhelm the email list.

-MC

On Fri, May 8, 2009 at 12:36 PM, Dale <fdhege@gmail.com (fdhege@gmail.com)> wrote:
Quote:

Hello,

I am trying to get a new freeswitch installation working and I have it
registering to a sip provider just fine and can receive inbound calls
but when I try and place a call out through the gateway the switch is
rejecting it due to the domain in the to of the INVITE.

Here is the INVITE

15:15:19.467351 IP (tos 0x0, ttl 64, id 40045, offset 0, flags
[none], proto: UDP (17), length: 1398) 207.4.223.35.5080 >
207.16.137.36.sip: SIP, length: 1370
INVITE sip:16173800299@207.16.137.36 ([email]sip%3A16173800299@207.16.137.36[/email]) SIP/2.0
Via: SIP/2.0/UDP 207.4.223.35:5080;rport;branch=z9hG4bKcc3a14Zcg8NZp
Max-Forwards: 69
From: "FreeSWITCH" <sip:
6172384723@172.16.12.100 (6172384723@172.16.12.100);transport=udp>;tag=54FXray2SNaKN
To: <sip:18023800299@207.16.137.36 ([email]sip%3A18023800299@207.16.137.36[/email])>
Call-ID: 6956c6eb-b6a7-122c-5fb1-725bd701687a
CSeq: 114786724 INVITE

Here is the REGISTER for the same gateway

15:24:27.746984 IP (tos 0x0, ttl 64, id 40075, offset 0, flags
[none], proto: UDP (17), length: 661) 207.4.223.35.5080 >
207.16.137.36.sip: SIP, length: 633
REGISTER sip:207.16.137.36;transport=udp SIP/2.0
Via: SIP/2.0/UDP 207.4.223.35:5080;rport;branch=z9hG4bK9H0SmN8jvavXp
Max-Forwards: 70
From: <sip: 6172384723@172.16.12.100 (6172384723@172.16.12.100);transport=udp>;tag=3jXBNmvUZ3XDe
To: <sip: 6172384723@172.16.12.100 (6172384723@172.16.12.100);transport=udp>

Here is my gateway config

<gateway name="voip1">
<param name="username" value="6172384723" />
<param name="password" value="testme" />
<param name="realm" value="172.16.12.100" />
<param name="proxy" value="207.16.137.36"/>
<param name="register-proxy" value="207.16.137.36"/>
<param name="register" value="true" />
<param name="stun-enabled" value="false"/>
<param name="from-domain" value="172.16.12.100"/>
<param name="aggressive-nat-detection" value="false"/>
</gateway>

Here is the bridge from the dialplan

<action application="bridge" data="sofia/gateway/voip1/1$1"/>

I'm currently running FreeSWITCH Version 1.0.trunk (13226M).

I hunted around trying to find another option in for the gateway
config that would set the to domain to the realm and still send the
packet to proxy but could not find one.

Any help/hints are welcome.

Thanks,

-Dale

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services