Skip to content

Instantly share code, notes, and snippets.

@neerajnagi
Created August 7, 2013 09:24
Show Gist options
  • Save neerajnagi/6172551 to your computer and use it in GitHub Desktop.
Save neerajnagi/6172551 to your computer and use it in GitHub Desktop.
----------------------------------
configuration gateway
----------------------------------
<include>
<gateway name="voxbeam">
<param name="register" value="false"/>
<param name="username" value="suman@perplenu.com"/>
<param name="from-user" value="suman@perplenu.com"/>
<param name="password" value="*********"/-->
<param name="proxy" value="sbc.voxbeam.com"/>
<param name="realm" value="sbc.voxbeam.com"/>
<param name="expire-seconds" value="300"/>
<param name="retry-seconds" value="30"/>
</gateway>
</include>
------------------------------------
error trace :-
-----------------------------
freeswitch@internal> sofia profile external register voxbeam
+OK
2013-08-07 05:20:53.117475 [NOTICE] sofia_reg.c:418 Registering voxbeam
send 624 bytes to udp/[108.59.2.133]:5060 at 09:20:53.125908:
------------------------------------------------------------------------
REGISTER sip:sbc.voxbeam.com;transport=udp SIP/2.0
Via: SIP/2.0/UDP 54.213.58.94:5080;rport;branch=z9hG4bKm6HZra2Htp2FF
Max-Forwards: 70
From: <sip:FreeSWITCH@sbc.voxbeam.com>;tag=mepZccQ7g00eD
To: <sip:FreeSWITCH@sbc.voxbeam.com>
Call-ID: 98cfbc78-ff42-11e2-bd4d-8b10574b40b4
CSeq: 47597562 REGISTER
Contact: <sip:gw+voxbeam@54.213.58.94:5080;transport=udp;gw=voxbeam>
Expires: 300
User-Agent: FreeSWITCH-mod_sofia/1.5.3b+git~20130716T024718Z~d6ac3b9250
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, precondition, path, replaces
Content-Length: 0
------------------------------------------------------------------------
recv 407 bytes from udp/[108.59.2.133]:5060 at 09:20:53.216098:
------------------------------------------------------------------------
SIP/2.0 405 Method Not Allowed
Via: SIP/2.0/UDP 54.213.58.94:5080;received=54.213.58.94;rport=5080;branch=z9hG4bKm6HZra2Htp2FF
From: <sip:FreeSWITCH@sbc.voxbeam.com>;tag=mepZccQ7g00eD
To: <sip:FreeSWITCH@sbc.voxbeam.com>;tag=9bfcef98fb680f8f4166eb5519411deb.4fac
Call-ID: 98cfbc78-ff42-11e2-bd4d-8b10574b40b4
CSeq: 47597562 REGISTER
Server: OpenSIPS (1.8.2-notls (x86_64/linux))
Content-Length: 0
------------------------------------------------------------------------
2013-08-07 05:20:53.197566 [ERR] sofia_reg.c:2236 voxbeam Registration Failed with status Method Not Allowed [405]. failure #2
-----------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment