Hi,<br>Tried setting PCMA as first parameter in vars.xml, no use. Still I got the same error.<br><br>Tried setting the absolute_codec_string to PCMA, but got the same error.<br><br>But I tried with a another parameter in openzap.conf.xml, which I got from the following thread <a href="http://www.nabble.com/Problem-dialing-out-via-E1-to22479047.html#a22626383">http://www.nabble.com/Problem-dialing-out-via-E1-to22479047.html#a22626383</a><br>
<br><param name="l1" value="alaw"/><br><br>After that I was able to make outgoing call, with the dialplan that I've.<br><br>But I don't know why setting PCMA has not worked. Have any guess???<br>
<br>I planned to document this in the wiki.<br><br>I was struggling to originate a call from the CLI. <br>originate openzap/1/1/9952248266 openzap/1/1/9952248266 says "No route. Aborting".<br><br>Have to find a way for this.<br>
<br>I sincerely thank you for your valuable time and effort on this matter.<br><br><br><br><div class="gmail_quote">On Wed, Oct 14, 2009 at 11:33 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Lak,<br><br>Okay, it stood out right away: FS is trying u-law but Asterisk is trying A-law. I'm not sure where the codec for openzap gets selected but you can try modifying this line in vars.xml:<br>
<br><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA,GSM"/><br>
<br>Try putting PCMA first. Also, I've never tried this but perhaps in your dialplan you can set absolute_codec_string to PCMA. I'm very interesting in hearing about the results. Please try them as soon as you can and report back.<br>
<br>Thanks,<br><font color="#888888">MC</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 10:34 PM, lakshmanan ganapathy <span dir="ltr"><<a href="mailto:lakindia89@gmail.com" target="_blank">lakindia89@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi. I made the setup quickly with one of my colleague, and here is the debug log given by asterisk<br><pre>Steps done by me :<br>        + Call Made from 04443902743 to 04439114600<br>        + When call lands to 04439114600, I just route it to 09176454982.<br>
<br>*CLI> <br>*CLI> <br>*CLI> pri debug span 1<br>Enabled debugging on span 1<br>*CLI> <br>*CLI> <br>*CLI> <br>*CLI> < Protocol Discriminator: Q.931 (8) len=41<br>< Call Ref: len= 2 (reference 21/0x15) (Originator)<br>
< Message type: SETUP (5)<br>< [a1]<br>< Sending Complete (len= 1)<br>< [04 03 80 90 a3]<br>< Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)<br>< Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)<br>
< User information layer 1: A-Law (35)<br>< [18 03 a1 83 9f]<br>< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Preferred Dchan: 0<br>< ChanSel: As indicated in following octets<br>
< Ext: 1 Coding: 0 Number Specified Channel Type: 3<br>< Ext: 1 Channel: 31 ]<br>< [6c 0c 01 81 34 34 34 33 39 30 32 37 34 33]<br>< Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<br>
< Presentation: Presentation permitted, user number passed network screening (1) '4443902743' ]<br>< [70 09 c1 33 39 31 31 34 36 30 30]<br>< Called Number (len=11) [ Ext: 1 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '39114600' ]<br>
-- Making new call for cr 21<br>-- Processing Q.931 Call Setup<br>-- Processing IE 161 (cs0, Sending Complete)<br>-- Processing IE 4 (cs0, Bearer Capability)<br>-- Processing IE 24 (cs0, Channel Identification)<br>-- Processing IE 108 (cs0, Calling Party Number)<br>
-- Processing IE 112 (cs0, Called Party Number)<br>q931.c:3504 q931_receive: call 21 on channel 31 enters state 6 (Call Present)<br>q931.c:2769 q931_call_proceeding: call 21 on channel 31 enters state 9 (Incoming Call Proceeding)<br>
</pre><blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=10<br><span>> </span>Call Ref: len= 2 (reference 21/0x15) (Terminator)<br><span>> </span>Message type: CALL PROCEEDING (2)<br>
<span>> </span>[18 03 a9 83 9f]<br><span>> </span>Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0<br><span>> </span> ChanSel: As indicated in following octets<br>
<span>> </span> Ext: 1 Coding: 0 Number Specified Channel Type: 3<br><span>> </span> Ext: 1 Channel: 31 ]<br></pre></blockquote>
<pre> -- Accepting call from '4443902743' to '39114600' on channel 0/31, span 1<br> -- Executing [39114600@incoming-from-pri:1] NoOp("Zap/31-1", "FMS Call Extn:39114600:| <a>CID::</a>| Channel:Zap/31-1:| ") in new stack<br>
-- Executing [39114600@incoming-from-pri:2] Dial("Zap/31-1", "Zap/g1/w09176454982||rj") in new stack<br>-- Making new call for cr 32770<br> -- Requested transfer capability: 0x00 - SPEECH<br></pre>
<blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=43<br><span>> </span>Call Ref: len= 2 (reference 2/0x2) (Originator)<br><span>> </span>Message type: SETUP (5)<br>
<span>> </span>[04 03 80 90 a3]<br><span>> </span>Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)<br><span>> </span> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)<br>
<span>> </span> User information layer 1: A-Law (35)<br><span>> </span>[18 03 a9 83 81]<br><span>> </span>Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0<br>
<span>> </span> ChanSel: As indicated in following octets<br><span>> </span> Ext: 1 Coding: 0 Number Specified Channel Type: 3<br>
<span>> </span> Ext: 1 Channel: 1 ]<br><span>> </span>[6c 0c 00 81 34 34 34 33 39 30 32 37 34 33]<br><span>> </span>Calling Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0)<br>
<span>> </span> Presentation: Presentation permitted, user number passed network screening (1) '4443902743' ]<br><span>> </span>[70 0c 80 30 39 31 37 36 34 35 34 39 38 32]<br>
<span>> </span>Called Number (len=14) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '09176454982' ]<br></pre></blockquote><pre>q931.c:3087 q931_setup: call 32770 on channel 1 enters state 1 (Call Initiated)<br>
-- Called g1/w09176454982<br>q931.c:2797 q931_alerting: call 21 on channel 31 enters state 7 (Call Received)<br></pre><blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=9<br>
<span>> </span>Call Ref: len= 2 (reference 21/0x15) (Terminator)<br><span>> </span>Message type: ALERTING (1)<br><span>> </span>[1e 02 81 88]<br>
<span>> </span>Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)<br><span>> </span> Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]<br>
</pre></blockquote><pre>< Protocol Discriminator: Q.931 (8) len=10<br>< Call Ref: len= 2 (reference 2/0x2) (Terminator)<br>< Message type: CALL PROCEEDING (2)<br>< [18 03 a9 83 81]<br>< Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0<br>
< ChanSel: As indicated in following octets<br>< Ext: 1 Coding: 0 Number Specified Channel Type: 3<br>< Ext: 1 Channel: 1 ]<br>-- Processing IE 24 (cs0, Channel Identification)<br>
q931.c:3636 q931_receive: call 32770 on channel 1 enters state 3 (Outgoing call Proceeding)<br> -- Zap/1-1 is proceeding passing it to Zap/31-1<br>< Protocol Discriminator: Q.931 (8) len=13<br>< Call Ref: len= 2 (reference 2/0x2) (Terminator)<br>
< Message type: ALERTING (1)<br>< [1e 02 84 88]<br>< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)<br>< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]<br>
< [1e 02 84 82]<br>< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)<br>< Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]<br>
-- Processing IE 30 (cs0, Progress Indicator)<br>-- Processing IE 30 (cs0, Progress Indicator)<br>q931.c:3549 q931_receive: call 32770 on channel 1 enters state 4 (Call Delivered)<br> -- Zap/1-1 is ringing<br>< Protocol Discriminator: Q.931 (8) len=9<br>
< Call Ref: len= 2 (reference 2/0x2) (Terminator)<br>< Message type: PROGRESS (3)<br>< [1e 02 84 84]<br>< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)<br>
< Ext: 1 Progress Description: Unknown (4) ]<br>-- Processing IE 30 (cs0, Progress Indicator)<br> -- Zap/1-1 is making progress passing it to Zap/31-1<br>< Protocol Discriminator: Q.931 (8) len=9<br>
< Call Ref: len= 2 (reference 2/0x2) (Terminator)<br>< Message type: PROGRESS (3)<br>< [1e 02 84 88]<br>< Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4)<br>
< Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]<br>-- Processing IE 30 (cs0, Progress Indicator)<br> -- Zap/1-1 is making progress passing it to Zap/31-1<br>
< Protocol Discriminator: Q.931 (8) len=19<br>< Call Ref: len= 2 (reference 2/0x2) (Terminator)<br>< Message type: CONNECT (7)<br>< [4c 0c 01 83 39 31 37 36 34 35 34 39 38 32]<br>< Connected Number (len=14) [ Ext: 0 TON: Unknown Number Type (0) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)<br>
< Ext: 1 Presentation: Presentation allowed of network provided number (3) '9176454982' ]<br>-- Processing IE 76 (cs0, Connected Number)<br>q931.c:3579 q931_receive: call 32770 on channel 1 enters state 10 (Active)<br>
</pre><blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=5<br><span>> </span>Call Ref: len= 2 (reference 2/0x2) (Originator)<br><span>> </span>Message type: CONNECT ACKNOWLEDGE (15)<br>
</pre></blockquote><pre> -- Zap/1-1 answered Zap/31-1<br>q931.c:2904 q931_connect: call 21 on channel 31 enters state 8 (Connect Request)<br></pre><blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=14<br>
<span>> </span>Call Ref: len= 2 (reference 21/0x15) (Terminator)<br><span>> </span>Message type: CONNECT (7)<br><span>> </span>[18 03 a9 83 9f]<br>
<span>> </span>Channel ID (len= 5) [ Ext: 1 IntID: Implicit PRI Spare: 0 Exclusive Dchan: 0<br><span>> </span> ChanSel: As indicated in following octets<br>
<span>> </span> Ext: 1 Coding: 0 Number Specified Channel Type: 3<br><span>> </span> Ext: 1 Channel: 31 ]<br><span>> </span>[1e 02 81 82]<br>
<span>> </span>Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)<br><span>> </span> Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ]<br>
</pre></blockquote><pre> -- Native bridging Zap/31-1 and Zap/1-1<br>< Protocol Discriminator: Q.931 (8) len=5<br>< Call Ref: len= 2 (reference 21/0x15) (Originator)<br>< Message type: CONNECT ACKNOWLEDGE (15)<br>
q931.c:3664 q931_receive: call 21 on channel 31 enters state 10 (Active)<br>< Protocol Discriminator: Q.931 (8) len=9<br>< Call Ref: len= 2 (reference 2/0x2) (Terminator)<br>< Message type: DISCONNECT (69)<br>< [08 02 80 90]<br>
< Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)<br>< Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]<br>-- Processing IE 8 (cs0, Cause)<br>
q931.c:3779 q931_receive: call 32770 on channel 1 enters state 12 (Disconnect Indication)<br>
-- Channel 0/1, span 1 got hangup request, cause 16<br>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request<br>q931.c:2920 q931_release: call 32770 on channel 1 enters state 19 (Release Request)<br>
</pre><blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=9<br><span>> </span>Call Ref: len= 2 (reference 2/0x2) (Originator)<br><span>> </span>Message type: RELEASE (77)<br>
<span>> </span>[08 02 81 90]<br><span>> </span>Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)<br>
<span>> </span> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]<br></pre></blockquote><pre> -- Hungup 'Zap/1-1'<br> == Spawn extension (incoming-from-pri, 39114600, 2) exited non-zero on 'Zap/31-1'<br>
-- Executing [h@incoming-from-pri:1] Hangup("Zap/31-1", "") in new stack<br> == Spawn extension (incoming-from-pri, h, 1) exited non-zero on 'Zap/31-1'<br>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Active<br>
q931.c:2968 q931_disconnect: call 21 on channel 31 enters state 11 (Disconnect Request)<br></pre><blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=9<br><span>> </span>Call Ref: len= 2 (reference 21/0x15) (Terminator)<br>
<span>> </span>Message type: DISCONNECT (69)<br><span>> </span>[08 02 81 90]<br><span>> </span>Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)<br>
<span>> </span> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]<br></pre></blockquote><pre> -- Hungup 'Zap/31-1'<br>< Protocol Discriminator: Q.931 (8) len=5<br>
< Call Ref: len= 2 (reference 2/0x2) (Terminator)<br>< Message type: RELEASE COMPLETE (90)<br>q931.c:3719 q931_receive: call 32770 on channel 1 enters state 0 (Null)<br>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null<br>
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null<br>< Protocol Discriminator: Q.931 (8) len=5<br>< Call Ref: len= 2 (reference 21/0x15) (Originator)<br>< Message type: RELEASE (77)<br>q931.c:3754 q931_receive: call 21 on channel 31 enters state 0 (Null)<br>
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request<br></pre><blockquote type="cite"><pre><span>> </span>Protocol Discriminator: Q.931 (8) len=9<br><span>> </span>Call Ref: len= 2 (reference 21/0x15) (Terminator)<br>
<span>> </span>Message type: RELEASE COMPLETE (90)<br><span>> </span>[08 02 81 90]<br><span>> </span>Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)<br>
<span>> </span> Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ]<br></pre></blockquote><pre>NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null<br>
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null<br></pre><br><div class="gmail_quote"><div><div></div><div>On Tue, Oct 13, 2009 at 9:16 PM, Michael S Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div><div bgcolor="#FFFFFF"><div><div><br></div><div>
On Oct 13, 2009, at 6:45 AM, lakshmanan ganapathy <<a href="mailto:lakindia89@gmail.com" target="_blank">lakindia89@gmail.com</a>> wrote:<br>
<br></div><div></div><blockquote type="cite"><div>We are using Reliance as the Carrier. <br>I think, with this same Reliance carrier, in my office, they are able to make outgoing calls through asterisk+libpri.</div></blockquote>
<div><br></div></div>If that's the case I would be very interested in seeing a pri debug from a working call on an asterisk box. It might give us a clue as to what is not working. <div>-MC<div><br><blockquote type="cite">
<div><br><br><div class="gmail_quote">On Tue, Oct 13, 2009 at 12:19 AM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank"></a><a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Lak,<br><br>Okay I will need a little bit of time to dig into the IE's and what they contain. In the meantime can you tell me who the carrier is? I'd like to find out if they have some specific requirements. The fact that it doesn't work with libpri surprises me because that would mean that Asterisk systems would probably not work with this carrier as well.<br>
<br>BTW, thanks for the very complete pastebin entries. :)<br><font color="#888888">-MC<br>
</font><span style="color: rgb(0, 0, 238); text-decoration: underline;"><br></span></blockquote></div></div></blockquote></div></div></div><br></div></div><div>_______________________________________________<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></div></blockquote></div><br>
<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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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>