[asterisk-dev] Problem implementing call redirection on Zap channels

Johann Hanne jhml at gmx.net
Mon Oct 2 10:29:21 MST 2006


Hi,

it's always the same: I searched for the problem several days without finding 
it, but immediately after writing to the list, it becomes clear:

On Monday 02 October 2006 12:35, Johann Hanne wrote:
> > Called Number (len= 6) [ Ext: 1  TON: Subscriber Number (4)  NPI: Private
> > Numbering Plan (9) 'Zap' ]

Looks like trying to call the number 'Zap' doesn't make sense. Writing the 
correct thing into the call_forward field helped...

There is only one little thing which prevents me from trying to create a 
proper patch against current SVN: I don't know to which QSIG standard this 
belongs:

< Message type: FACILITY (98)
< [1c 66 91 aa 06 80 01 00 82 01 00 8b 01 02 a1 58 02 02 06 1d 06 04 2b 0c 09 
13 30 4c 0a 01 01 30 06 80 04 34 39 39 30 02 01 01 40 09 04 03 80 90 a3 7d 02 
91 81 a1 08 a0 06 80 04 31 33 31 33 82 01 02 a4 0b a0 09 80 04 38 34 30 39 0a 
01 01 a7 17 04 12 45 44 56 20 48 6f 74 6c 69 6e 65 20 20 20 20 20 20 20 02 01 
01]
< Facility (len=104, codeset=0) [ 0x91, 0xaa, 0x06, 0x80, 0x01, 0x00, 0x82, 
0x01, 0x00, 0x8b, 0x01, 0x02, 0xa1, 'X', 0x02, 0x02, 0x06, 0x1d, 0x06, 0x04, 
0x2b, 0x0c, 0x09, 0x13, '0L', 0x0a, 0x01, 0x01, '0', 0x06, 0x80, 0x04, 
'4990', 0x02, 0x01, 0x01, 0x40, 0x09, 0x04, 0x03, 0x80, 0x90, 0xa3, 0x7d, 
0x02, 0x91, 0x81, 0xa1, 0x08, 0xa0, 0x06, 0x80, 0x04, '1313', 0x82, 0x01, 
0x02, 0xa4, 0x0b, 0xa0, 0x09, 0x80, 0x04, '8409', 0x0a, 0x01, 0x01, 0xa7, 
0x17, 0x04, 0x12, 'EDV', 0x20, 'Hotline', 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 
0x20, 0x02, 0x01, 0x01 ]

It's some ROSE stuff with ASN1_OBJECTIDENTIFIER, and I can parse the redirect 
target out of it. But without knowing the standard I won't be able to write 
clean code. So if somebody is interested in getting the Zap redirection code 
in, please help...

Cheers, Johann


More information about the asterisk-dev mailing list