On Fri, 4 Feb 2005, Frank Sautter wrote:

> < Message type: SETUP (5)
[snip]
> < [6c 0c 21 80 31 37 32 39 38 37 36 35 34 33]
> < Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> <                           Presentation: Presentation permitted, user 
> number not screened (0) '1729876543' ]
> < [6c 0a 21 83 37 30 33 31 37 31 34 35]
> < Calling Number (len=12) [ Ext: 0  TON: National Number (2)  NPI: 
> ISDN/Telephony Numbering Plan (E.164/E.163) (1)
> <                           Presentation: Presentation allowed of 
> network provided number (3) '70317145' ]
[snip]
> 
> as you can see there are two calling numbers sent: 1729876543 (CLI-no 
> screen - which should be the callerid) and a second one 70317145 
> (Network provided number).

This is rather weird? What network do you receive this from? Neither 
ITU q.931 nor ETSI EN 300 403-1 (EiroISDN definition) lists the "Calling 
Number" IE among those that may be repeated. 

I am quite certain that libpri does not handle this. The last one will 
overwrite the earlier calling numbers. Some hacking of libpri is probably 
needed to handle this. To handle it cleanly a more complex interface 
between chan_zap and libpri may be needed.

Peter


_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to