Hi Stephen<br><br>Thanks a TON, pun unintended :)<br><br>I tried setting the TON to 2 or 4 and NPI to 1 and on Q.931 trace it shows that the numbering type and plan have been set correctly. However, it still show the same UNALLOCATED_NUMBER hangup cause. <br>
<br>I have attached the pcap trace of an incoming call which then sets the channel variables as given on the link you shared and bridges a call to the said number 07305880719 . The reason why I have to do this is because I could not figure out how to set these profile variables from the originate command, so I set them up in the dialplan. <br>
<br>This number 07305880719 is valid, I am able to call it from my mobile and also from another card + freeswitch<br><br>I suspected that the issue could be with sangoma isdn library, so I tried with libpri instead. Even with correct TON and NPI, the call is not being set-up. <br>
<br>Could this be an issue with my PRI line or Sangoma card itself ?<br><br clear="all">regards,<br>Anita<br><br>
<br><br><div class="gmail_quote">On Tue, Mar 6, 2012 at 1:58 AM, Stephen Wilde <span dir="ltr"><<a href="mailto:wstephen80@gmail.com">wstephen80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In your log I see an "UNALLOCATED_NUMBER" release cause.<div>If the number is ok, this can be due to the ISDN numbering plan/number type of the called party.</div><div>What are required by your isdn provider?</div>
<div>You can try with different parameters (for your called number I think that you have to specify numbering plan=ISDN and number type=National).</div><div>These parameter can be specified in profile or dialplan.</div><div>
<br></div><div><a href="http://wiki.sangoma.com/wanpipe-freeswitch-config-appendix#ton-npi-per-call" target="_blank">http://wiki.sangoma.com/wanpipe-freeswitch-config-appendix#ton-npi-per-call</a><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Stephen</div></font></span><div class="HOEnZb"><div class="h5"><div> </div><div><br><div class="gmail_quote">On Mon, Mar 5, 2012 at 7:55 PM, Anita Hall <span dir="ltr"><<a href="mailto:anita.hall@simmortel.com" target="_blank">anita.hall@simmortel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks John.<br><br>I could take a pcap trace using<br>wanpipemon -i w4g1 -pcap -pcap_file sng_isdn_fwd.pc -prot ISDN -full -systime -c trd<br>
<br>The q931 for a call which is not maturing is as follows. This is the case when the called number is set to unconditional forwarding. <br>
3 6.057463 Local User Remote Network Q.931 SETUP<br>5 6.142822 Remote Network Local User Q.931 CALL PROCEEDING<br>7 Remote Network Local User Q.931 DISCONNECT<br>9 Local User Remote Network Q.931 RELEASE<br>
11 Remote Network Local User Q.931 RELEASE COMPLETE<br><br>This happens only with Sangoma Card. I am using the sangoma_isdn stack and FreeTDM. Somehow, it is not able to understand that the call is getting forwarded. <br>
<br>The q931 for a call which is maturing is as follows<br>11 Local User Remote Network Q.931 SETUP<br>13 Remote Network Local User Q.931 CALL PROCEEDING<br>15 Remote Network Local User Q.931 ALERTING<br>
17 Remote Network Local User Q.931 CONNECT<br>23 Remote Network Local User Q.931 DISCONNECT<br>25 Local User Remote Network Q.931 RELEASE<br>27 Remote Network Local User Q.931 RELEASE COMPLETE<br>
<br><br><br clear="all">regards,<br>Anita<div><div><br><br>
<br><br><div class="gmail_quote">On Mon, Mar 5, 2012 at 11:57 PM, John <span dir="ltr"><<a href="mailto:freeswitch@earthspike.net" target="_blank">freeswitch@earthspike.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>On 05/03/12 16:31, Anita Hall wrote:<br>
> Hi<br>
><br>
> There are some numbers on which I am not able to originate calls from<br>
> a Sangoma Card, while I am able to do the same from a Digium like<br>
> card. I am using FreeTDM.<br>
><br>
> >originate freetdm/4/a/07305880672 &park()<br>
><br>
> Log is here <a href="http://pastebin.freeswitch.org/18578" target="_blank">http://pastebin.freeswitch.org/18578</a><br>
><br>
> Note that I am able to call other numbers from this system and I have<br>
> a working PRI line and FreeTDM.<br>
><br>
> Also the number 07305880672 is working fine. It unconditionally<br>
> forwards the call to another number. I am problem with calling all<br>
> such numbers.<br>
><br>
> I am able to do q931 traces using sangoma_isdn but how to view them ?<br>
><br>
> regards,<br>
> Anita<br>
><br>
</div></div>Anita,<br>
<br>
You can use wireshark to decode the q.931 traces; the output files are<br>
.pcap format.<br>
<br>
John<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>
</blockquote></div><br>
</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></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">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">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>