[Freeswitch-users] Gateway Outbound Dial Config Problem

Dale fdhege at gmail.com
Fri May 8 12:36:10 PDT 2009


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) > SIP, length: 1370
	INVITE sip:16173800299 at SIP/2.0
	Via: SIP/2.0/UDP;rport;branch=z9hG4bKcc3a14Zcg8NZp
	Max-Forwards: 69
	From: "FreeSWITCH" <sip: 
6172384723 at;transport=udp>;tag=54FXray2SNaKN
	To: <sip:18023800299 at>
	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) > SIP, length: 633
	REGISTER sip:;transport=udp SIP/2.0
	Via: SIP/2.0/UDP;rport;branch=z9hG4bK9H0SmN8jvavXp
	Max-Forwards: 70
	From: <sip: 6172384723 at;transport=udp>;tag=3jXBNmvUZ3XDe
	To: <sip: 6172384723 at;transport=udp>

Here is my gateway config

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

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.



More information about the FreeSWITCH-users mailing list