<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G729:18:8000:20:8000]</blockquote>
<p style="color:rgb(34,34,34);font-size:13.333333969116211px;font-family:arial,sans-serif">This looks odd, although I'm not sure why it's not working.</p><p style="color:rgb(34,34,34);font-size:13.333333969116211px;font-family:arial,sans-serif">
The remote endpoint is using the static payload type 0 for G729. Normally that's reserved for G711 ulaw, while G729 uses 18. But the rtpmap should allow overriding that.</p><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333969116211px">G729:0:8000:20:64000</span></blockquote><div><br></div><div>The 64000 rate here also looks odd - it's comparing 64khz to 8khz and I suspect that's also a reason why it doesn't recognise it. I don't know where that 64000 is coming from though.</div>
<div><br></div><p style="color:rgb(34,34,34);font-size:13.333333969116211px;font-family:arial,sans-serif">
-Steve</p><p style="color:rgb(34,34,34);font-size:13.333333969116211px;font-family:arial,sans-serif"><br></p><div><br></div><div><br></div><br><div class="gmail_quote">On 17 December 2012 07:31, Balamurugan Mahendran <span dir="ltr"><<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the help!! Please let me know if I missed anything.<div><br></div><div><div> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,SILK@8000h,SILK@12000h,SILK@16000h,SILK@24000h,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"/></div>
<div> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,SILK@8000h,SILK@12000h,SILK@16000h,SILK@24000h,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,GSM"/></div><div><br></div><div><br></div>
<div>
<div>freeswitch@internal> g729_info </div><div>Permitted G729 channels: 10</div><div>Encoders in use: 4</div><div>Decoders in use: 3</div><div><br></div><div>freeswitch@internal> </div></div><div><br></div><div><br>
</div><div><br></div><div>
<p>recv 742 bytes from udp/[182.79.149.142]:16251 at 07:27:19.212195:</p>
<p> ------------------------------------------------------------------------</p>
<p> INVITE <a href="mailto:sip%3A500@50.54.12.39" target="_blank">sip:500@50.54.12.39</a> SIP/2.0</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:16251;rport;branch=z9hG4bK68891</p>
<p> Route: <sip:50.54.12.39;transport=udp;lr></p>
<p> Max-Forwards: 70</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK03044060</p>
<p> To: <<a href="mailto:sip%3A500@50.54.12.39" target="_blank">sip:500@50.54.12.39</a>></p>
<p> Call-ID: <a href="mailto:047707180743@10.4.2.7" target="_blank">047707180743@10.4.2.7</a></p>
<p> CSeq: 1 INVITE</p>
<p> Contact: <sip:501@182.79.149.142:16251;transport=udp></p>
<p> Allow: INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS</p>
<p> Expires: 3600</p>
<p> User-Agent: SyncPhone 1.0</p>
<p> Content-Length: 244</p>
<p> Content-Type: application/sdp</p>
<p> </p>
<p> v=0</p>
<p> o=- 1111 1111 IN IP4 182.79.149.142</p>
<p> s=Session SIP/SDP</p>
<p> c=IN IP4 182.79.149.142</p>
<p> t=0 0</p>
<p> a=sendrecv</p>
<p> a=rtcp:57395 IN IP4 182.79.149.142</p>
<p> m=audio 26474 RTP/AVP 0 101</p>
<p> a=rtpmap:0 G729/8000</p>
<p> a=rtpmap:101 telephone-event/8000</p>
<p> a=fmtp:101 0-15</p>
<p> ------------------------------------------------------------------------</p>
<p>send 321 bytes to udp/[182.79.149.142]:16251 at 07:27:19.212520:</p>
<p> ------------------------------------------------------------------------</p>
<p> SIP/2.0 100 Trying</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:16251;rport=16251;branch=z9hG4bK68891</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK03044060</p>
<p> To: <<a href="mailto:sip%3A500@50.54.12.39" target="_blank">sip:500@50.54.12.39</a>></p>
<p> Call-ID: <a href="mailto:047707180743@10.4.2.7" target="_blank">047707180743@10.4.2.7</a></p>
<p> CSeq: 1 INVITE</p>
<p> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28 18-32-35 -0600</p>
<p> Content-Length: 0</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia.c:7481 IP 182.79.149.142 Approved by acl "domains[]". Access Granted.</p>
<p>2012-12-17 07:27:19.206419 [NOTICE] switch_channel.c:930 New Channel sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [30a75cd4-481b-11e2-84b4-e5c28303057e]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Running State Change CS_NEW</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:380 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State NEW</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia.c:5502 Channel sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> entering state [received][100]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia.c:5513 Remote SDP:</p>
<p>v=0</p>
<p>o=- 1111 1111 IN IP4 182.79.149.142</p>
<p>s=Session SIP/SDP</p>
<p>c=IN IP4 182.79.149.142</p>
<p>t=0 0</p>
<p>a=sendrecv</p>
<p>a=rtcp:57395 IN IP4 182.79.149.142</p>
<p>m=audio 26474 RTP/AVP 0 101</p>
<p>a=rtpmap:0 G729/8000</p>
<p>a=rtpmap:101 telephone-event/8000</p>
<p>a=fmtp:101 0-15</p>
<p><br></p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G729:18:8000:20:8000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:117:8000:20:20000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:118:12000:20:25000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:119:16000:20:30000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[SILK:120:24000:20:40000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G7221:115:32000:20:48000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G7221:107:16000:20:32000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[G722:9:8000:20:64000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[PCMU:0:8000:20:64000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[PCMA:8:8000:20:64000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [G729:0:8000:20:64000]/[GSM:3:8000:20:13200]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G729:18:8000:20:8000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:117:8000:20:20000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:118:12000:20:25000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:119:16000:20:30000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[SILK:120:24000:20:40000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G7221:115:32000:20:48000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G7221:107:16000:20:32000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[G722:9:8000:20:64000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[PCMU:0:8000:20:64000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[PCMA:8:8000:20:64000]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4798 Audio Codec Compare [telephone-event:101:8000:20:0]/[GSM:3:8000:20:13200]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] sofia_glue.c:4919 Set 2833 dtmf send/recv payload to 101</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_channel.c:2852 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Callstate Change DOWN -> HANGUP</p>
<p>2012-12-17 07:27:19.206419 [NOTICE] sofia.c:5781 Hangup sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_channel.c:2875 Send signal sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [KILL]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1180 Send signal sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [BREAK]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Running State Change CS_HANGUP</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State HANGUP</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] mod_sofia.c:469 Channel sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> hanging up, cause: INCOMPATIBLE_DESTINATION</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] mod_sofia.c:534 Responding to INVITE with: 488</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:47 sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> Standard HANGUP, cause: INCOMPATIBLE_DESTINATION</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:602 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State HANGUP going to sleep</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:393 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State Change CS_HANGUP -> CS_REPORTING</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1180 Send signal sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [BREAK]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:362 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Running State Change CS_REPORTING</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State REPORTING</p>
<p>send 816 bytes to udp/[182.79.149.142]:16251 at 07:27:19.215295:</p>
<p> ------------------------------------------------------------------------</p>
<p> SIP/2.0 488 Not Acceptable Here</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:16251;rport=16251;branch=z9hG4bK68891</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK03044060</p>
<p> To: <<a href="mailto:sip%3A500@50.54.12.39" target="_blank">sip:500@50.54.12.39</a>>;tag=8K31Z9S2DymjN</p>
<p> Call-ID: <a href="mailto:047707180743@10.4.2.7" target="_blank">047707180743@10.4.2.7</a></p>
<p> CSeq: 1 INVITE</p>
<p> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28 18-32-35 -0600</p>
<p> Accept: application/sdp</p>
<p> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</p>
<p> Supported: timer, precondition, path, replaces</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:79 sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> Standard REPORTING, cause: INCOMPATIBLE_DESTINATION</p>
<p> Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer</p>
<p> Reason: Q.850;cause=88;text="INCOMPATIBLE_DESTINATION"2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:662 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State REPORTING going to sleep</p>
<p><br></p>
<p> Content-Length: 0</p>
<p> Remote-Party-ID: "500" <<a href="mailto:sip%3A500@50.54.12.39" target="_blank">sip:500@50.54.12.39</a>>;party=calling;privacy=off;screen=no</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:387 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State Change CS_REPORTING -> CS_DESTROY</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1180 Send signal sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [BREAK]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_session.c:1380 Session 204 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Locked, Waiting on external entities</p>
<p>2012-12-17 07:27:19.206419 [NOTICE] switch_core_session.c:1398 Session 204 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Ended</p>
<p>2012-12-17 07:27:19.206419 [NOTICE] switch_core_session.c:1400 Close Channel sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [CS_DESTROY]</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:491 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Callstate Change HANGUP -> DOWN</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:494 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Running State Change CS_DESTROY</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State DESTROY</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] mod_sofia.c:374 sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> SOFIA DESTROY</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:86 sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> Standard DESTROY</p>
<p>2012-12-17 07:27:19.206419 [DEBUG] switch_core_state_machine.c:504 (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) State DESTROY going to sleep</p>
<p>recv 407 bytes from udp/[182.79.149.142]:16251 at 07:27:19.581401:</p>
<p> ------------------------------------------------------------------------</p>
<p> ACK <a href="mailto:sip%3A500@50.54.12.39" target="_blank">sip:500@50.54.12.39</a> SIP/2.0</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:16251;rport;branch=z9hG4bK68891</p>
<p> Route: <sip:50.54.12.39;transport=udp;lr></p>
<p> Max-Forwards: 70</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK03044060</p>
<p> To: <<a href="mailto:sip%3A500@50.54.12.39" target="_blank">sip:500@50.54.12.39</a>>;tag=8K31Z9S2DymjN</p>
<p> Call-ID: <a href="mailto:047707180743@10.4.2.7" target="_blank">047707180743@10.4.2.7</a></p>
<p> CSeq: 1 ACK</p>
<p> Allow: INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS</p>
<p> User-Agent: SyncPhone 1.0</p>
<p> Content-Length: 0</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>recv 465 bytes from udp/[182.79.149.142]:36420 at 07:27:20.672450:</p>
<p> ------------------------------------------------------------------------</p>
<p> REGISTER sip:50.54.12.39 SIP/2.0</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:36420;rport;branch=z9hG4bK20451</p>
<p> Route: <sip:50.54.12.39;transport=udp;lr></p>
<p> Max-Forwards: 70</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK35760121</p>
<p> To: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>></p>
<p> Call-ID: <a href="mailto:790899967509@10.4.2.7" target="_blank">790899967509@10.4.2.7</a></p>
<p> CSeq: 1 REGISTER</p>
<p> Contact: <sip:501@182.79.149.142:36420;transport=udp></p>
<p> Allow: INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS</p>
<p> Expires: 3600</p>
<p> User-Agent: SyncPhone 1.0</p>
<p> Content-Length: 0</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>2012-12-17 07:27:20.666425 [DEBUG] sofia_reg.c:1417 Send challenge for [<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>]</p>
<p>2012-12-17 07:27:20.666425 [WARNING] sofia_reg.c:1421 SIP auth challenge (REGISTER) on sofia profile 'internal' for [<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>] from ip 182.79.149.142</p>
<p>send 626 bytes to udp/[182.79.149.142]:36420 at 07:27:20.673200:</p>
<p> ------------------------------------------------------------------------</p>
<p> SIP/2.0 401 Unauthorized</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:36420;rport=36420;branch=z9hG4bK20451</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK35760121</p>
<p> To: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=9vvt14a6a7a5g</p>
<p> Call-ID: <a href="mailto:790899967509@10.4.2.7" target="_blank">790899967509@10.4.2.7</a></p>
<p> CSeq: 1 REGISTER</p>
<p> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28 18-32-35 -0600</p>
<p> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</p>
<p> Supported: timer, precondition, path, replaces</p>
<p> WWW-Authenticate: Digest realm="50.54.12.39", nonce="31862298-481b-11e2-84b6-e5c28303057e", algorithm=MD5, qop="auth"</p>
<p> Content-Length: 0</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>recv 707 bytes from udp/[182.79.149.142]:36420 at 07:27:21.094563:</p>
<p> ------------------------------------------------------------------------</p>
<p> REGISTER sip:50.54.12.39 SIP/2.0</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:36420;rport;branch=z9hG4bK84890</p>
<p> Route: <sip:50.54.12.39;transport=udp;lr></p>
<p> Max-Forwards: 70</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK35760121</p>
<p> To: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>></p>
<p> Call-ID: <a href="mailto:790899967509@10.4.2.7" target="_blank">790899967509@10.4.2.7</a></p>
<p> CSeq: 2 REGISTER</p>
<p> Allow: INVITE, ACK, BYE, CANCEL, REGISTER, OPTIONS</p>
<p> Expires: 3600</p>
<p> User-Agent: SyncPhone 1.0</p>
<p> Contact: <sip:501@182.79.149.142:36420;transport=udp></p>
<p> Authorization: Digest username="501", realm="50.54.12.39", nonce="31862298-481b-11e2-84b6-e5c28303057e", uri="sip:50.54.12.39", algorithm=MD5, qop=auth, nc=00000001, cnonce="a5d0aab2288476b3", response="eb8ccc768c7f9fee038f0d5dfc599931"</p>
<p> Content-Length: 0</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'record_stereo' = 'true'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'default_gateway' = '<a href="http://example.com" target="_blank">example.com</a>'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'default_areacode' = '918'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'transfer_fallback_extension' = 'operator'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'toll_allow' = 'domestic,international,local'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'accountcode' = '501'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'user_context' = 'default'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'effective_caller_id_name' = 'Extension 501'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'effective_caller_id_number' = '501'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'outbound_caller_id_name' = 'FS'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'outbound_caller_id_number' = '<a href="tel:9732386040" value="+19732386040" target="_blank">9732386040</a>'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:2639 event_add_header -> 'callgroup' = 'techsupport'</p>
<p>2012-12-17 07:27:21.086425 [DEBUG] sofia_reg.c:1575 Register:</p>
<p>From: [<a href="mailto:501@10.252.148.21" target="_blank">501@10.252.148.21</a>]</p>
<p>Contact: ["user" <sip:501@182.79.149.142:36420;transport=udp>]</p>
<p>Expires: [3600]</p>
<p>send 600 bytes to udp/[182.79.149.142]:36420 at 07:27:21.096965:</p>
<p> ------------------------------------------------------------------------</p>
<p> SIP/2.0 200 OK</p>
<p> Via: SIP/2.0/UDP 182.79.149.142:36420;rport=36420;branch=z9hG4bK84890</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=z9hG4bK35760121</p>
<p> To: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=a6NK3ZU97F1Qc</p>
<p> Call-ID: <a href="mailto:790899967509@10.4.2.7" target="_blank">790899967509@10.4.2.7</a></p>
<p> CSeq: 2 REGISTER</p>
<p> Contact: <sip:501@182.79.149.142:36420;transport=udp>;expires=3600</p>
<p> Date: Mon, 17 Dec 2012 07:27:21 GMT</p>
<p> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28 18-32-35 -0600</p>
<p> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</p>
<p> Supported: timer, precondition, path, replaces</p>
<p> Content-Length: 0</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>send 926 bytes to udp/[182.79.149.142]:36420 at 07:27:21.112029:</p>
<p> ------------------------------------------------------------------------</p>
<p> NOTIFY sip:501@182.79.149.142:36420;transport=udp SIP/2.0</p>
<p> Via: SIP/2.0/UDP 50.54.12.39;rport;branch=z9hG4bKXXQBeBHUQ5yZp</p>
<p> Max-Forwards: 70</p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=BFFc5tcD5rQar</p>
<p> To: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>></p>
<p> Call-ID: 09276738-c2be-1230-ec86-22000afc9415</p>
<p> CSeq: 37528556 NOTIFY</p>
<p> Contact: <<a href="http://sip:mod_sofia@50.54.12.39:5060" target="_blank">sip:mod_sofia@50.54.12.39:5060</a>></p>
<p> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-9f8d37d 2012-01-28 18-32-35 -0600</p>
<p> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE</p>
<p> Supported: timer, precondition, path, replaces</p>
<p> Event: message-summary</p>
<p> Allow-Events: talk, hold, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer</p>
<p> Subscription-State: terminated;reason=noresource</p>
<p> Content-Type: application/simple-message-summary</p>
<p> Content-Length: 64</p>
<p> </p>
<p> Messages-Waiting: no</p>
<p> Message-Account: <a href="mailto:sip%3A501@10.252.148.21" target="_blank">sip:501@10.252.148.21</a></p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p>recv 295 bytes from udp/[182.79.149.142]:36420 at 07:27:21.531463:</p>
<p> ------------------------------------------------------------------------</p>
<p> SIP/2.0 405 Method Not Allowed</p>
<p> Via: SIP/2.0/UDP 50.54.12.39;branch=z9hG4bKXXQBeBHUQ5yZp;rport=5060</p>
<p> To: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>></p>
<p> From: <<a href="mailto:sip%3A501@50.54.12.39" target="_blank">sip:501@50.54.12.39</a>>;tag=BFFc5tcD5rQar</p>
<p> Call-ID: 09276738-c2be-1230-ec86-22000afc9415</p>
<p> CSeq: 37528556 NOTIFY</p>
<p> Server: SyncPhone 1.0</p>
<p> Content-Length: 0</p>
<p> </p>
<p> ------------------------------------------------------------------------</p>
<p><br></p></div><div><div><br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 2:25 AM, curriegrad2004 <span dir="ltr"><<a href="mailto:curriegrad2004@gmail.com" target="_blank">curriegrad2004@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If he is using mod_g729 then the log would throw an error saying that<br>
the codec only does passthrough mode, however he hasn't shown that<br>
part of the log to us yet<br>
<div><div><br>
On Sun, Dec 16, 2012 at 12:05 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>> wrote:<br>
> What G729 module are you using, and what codec is in use on the other leg?<br>
><br>
> G729 needs licenses due to patents.<br>
><br>
> mod_g729 is passthrough only but requires no licenses. This is because it<br>
> merely forwards the data, but doesn't perform the encoding/transcoding step<br>
> that the patents cover. But that means it can't transcode between different<br>
> codecs.<br>
> mod_com_g729 is the licensed version: <a href="http://www.freeswitch.org/node/235" target="_blank">http://www.freeswitch.org/node/235</a><br>
><br>
> With the passthrough mod_g729 codec, if the other leg has selected a codec<br>
> other than g729 you'll see an error in your logs and it'll hangup with that<br>
> reason.<br>
><br>
> You can tweak your codec negotiation to avoid this (eg<br>
> late-negotiation=true), or you can use the licensed version.<br>
><br>
><br>
><br>
><br>
> On 16 December 2012 11:40, Balamurugan Mahendran <<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>> wrote:<br>
>><br>
>> Need help on Codec Negotiation<br>
>><br>
>><br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[G729:18:8000:20:8000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[SILK:117:8000:20:20000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[SILK:118:12000:20:25000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[SILK:119:16000:20:30000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[SILK:120:24000:20:40000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[G7221:115:32000:20:48000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[G7221:107:16000:20:32000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[G722:9:8000:20:64000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[PCMU:0:8000:20:64000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[PCMA:8:8000:20:64000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [G729:0:8000:20:64000]/[GSM:3:8000:20:13200]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[G729:18:8000:20:8000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[SILK:117:8000:20:20000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[SILK:118:12000:20:25000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[SILK:119:16000:20:30000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[SILK:120:24000:20:40000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[G7221:115:32000:20:48000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[G7221:107:16000:20:32000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[G722:9:8000:20:64000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[PCMU:0:8000:20:64000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[PCMA:8:8000:20:64000]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4798 Audio Codec Compare<br>
>> [telephone-event:101:8000:20:0]/[GSM:3:8000:20:13200]<br>
>> 2012-12-16 11:35:52.246422 [DEBUG] sofia_glue.c:4919 Set 2833 dtmf<br>
>> send/recv payload to 101<br>
>><br>
>><br>
>> 2012-12-16 11:35:52.246422 [DEBUG] switch_channel.c:2852<br>
>> (sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a>) Callstate Change DOWN -> HANGUP<br>
>> 2012-12-16 11:35:52.246422 [NOTICE] sofia.c:5781 Hangup<br>
>> sofia/internal/<a href="mailto:501@50.54.12.39" target="_blank">501@50.54.12.39</a> [CS_NEW] [INCOMPATIBLE_DESTINATION]<br>
>><br>
>> Thanks,<br>
>> Bala<br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
>> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
> <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>