[asterisk-ss7] sending nondigit char
Kaloyan Kovachev
kkovachev at varna.net
Tue Jul 14 12:32:25 CDT 2009
After a hint from a provider who is sending '*' instead of 'E' and the changes
below it worked, but i am not sure is it right to associate '*' with 0x0e, but
this is what i am receiving as corresponding byte for 'Address signals', which
is improperly terminated on the first digit, so the string is empty
Index: isup.c
===================================================================
--- isup.c (revision 238)
+++ isup.c (working copy)
@@ -256,6 +256,8 @@
return 8;
case '9':
return 9;
+ case '*':
+ return 0xe;
case '#':
return 0xf;
default:
@@ -286,6 +288,8 @@
return '8';
case 9:
return '9';
+ case 14:
+ return '*';
case 15:
return '#';
default:
On Tue, 14 Jul 2009 19:34:13 +0300, Kaloyan Kovachev wrote
> Hello,
> i need to send (and receive) via an ITU ss7 link a number starting with the
> letter E, but Asterisk is sending it as 0 and when receiving similar number
> sent from our provider i get no number at all and the call fails on the s
> extension.
>
> In chan_dahdi.conf there is:
>
> ; pridialplan may be also set at dialtime, by prefixing the dialled number with
> ; one of the following letters:
> ; U - Unknown
> ; I - International
> ; N - National
> ; L - Local (Net Specific)
> ; S - Subscriber
> ; V - Abbreviated
> ; R - Reserved (should probably never be used but is included for completeness)
>
> but does not work at all for ss7 and even the N prefix (for national) is sent
> as 0 according to ss7 debug.
>
> where in the code should i look about changing this behavior?
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-ss7 mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-ss7
More information about the asterisk-ss7
mailing list