Hi , ive set up a box with a vgsm2 card and asterisk.

i need to transfer a call incoming from gsm to another server , but when i did 
that....

boom , segmentation fault

ive tested with vstuff-0.21 and vstuff-head
ive tested with asterisk-1.2.4 and 1.2.20
ive tested with kernel-2.6.15 and 2.6.21

all with same results

if i dial from that server to the gsm card box to dial out everything works fine

Here's the asterisk debug

Jul  5 21:35:21 DEBUG[4241] chan_sip.c: SIP response 100 to standard invite
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 0: SIP/2.0 180 Ringing (19)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 1: Via: SIP/2.0/UDP 
127.0.0.2:5062;branch=z9hG4bK33d2ae49;received=127.0.0.2;rport=5062 (84)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 2: From: "914388239" <sip:[EMAIL 
PROTECTED]:5062>;tag=as63e63da7 (63)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 3: To: <sip:[EMAIL 
PROTECTED]>;tag=as35166822 (44)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 4: Call-ID: [EMAIL PROTECTED] 
(51)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 5: CSeq: 102 INVITE (16)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 6: User-Agent: SipTel.PBX v1.0 
(27)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 7: Allow: INVITE, ACK, CANCEL, 
OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY (66)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 8: Max-Forwards: 70 (16)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 9: Contact: <sip:[EMAIL 
PROTECTED]> (34)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 10: Content-Length: 0 (17)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: Header 11:  (0)
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: = Found Their Call ID: [EMAIL 
PROTECTED] Their Tag  Our tag: as63e63da7
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: (Provisional) Stopping retransmission 
(but retaining packet) on '[EMAIL PROTECTED]' Request 102: Found
Jul  5 21:35:21 DEBUG[4241] chan_sip.c: SIP response 180 to standard invite
Jul  5 21:35:21 DEBUG[4284] channel.c: Driver for channel 'VGSM/card1/1' does 
not support indication 3, emulating it
Jul  5 21:35:21 DEBUG[4284] channel.c: Prodding channel 'VGSM/card1/1'

BOOM , crashes without any more messages

heres vgsm debug

vgsm: card1: TX: 'AT+CREG?<cr>'
vgsm: card1: RX: '<cr><lf>+CREG: 2,1,"D6E3","2D8B"<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: TX: 'AT^SMOND<cr>'
vgsm: card1: RX: 
'<cr><lf>^SMOND:268,06,D6E3,2D8B,61,104,76,,,0,,,0,268,06,D6E3,2D8D,67,107,79,268,06,D6E3,,75,111,79,268,06,D6E2,07A2,25,114,88,268,06,D6E2,,67,819,93,268,06,D6E3,,63,116,100,,,,,,,0,0,19,99<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: TX: 'AT+COPS?<cr>'
vgsm: card1: RX: '<cr><lf>+COPS: 0,2,"26806"<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: changed state from READY to READY (timeout 30.00s)
vgsm: card1: RX URC: '+CREG: 1,"D6E3","2D8D"'
vgsm: card1: TX: 'AT+COPS?<cr>'
vgsm: card1: RX: '<cr><lf>+COPS: 0,2,"26806"<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: TX: 'AT+CREG?<cr>'
vgsm: card1: RX: '<cr><lf>+CREG: 2,1,"D6E3","2D8D"<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: TX: 'AT^SMOND<cr>'
vgsm: card1: RX: 
'<cr><lf>^SMOND:268,06,D6E3,2D8D,67,107,72,,,0,,,0,268,06,D6E3,2D8B,61,104,79,268,06,D6E3,,75,111,81,268,06,D6E2,07A2,25,114,86,268,06,D6E2,,67,819,90,268,06,D6E3,179B,63,102,97,268,06,D6E3,,63,116,10<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: TX: 'AT+COPS?<cr>'
vgsm: card1: RX: '<cr><lf>+COPS: 0,2,"26806"<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: changed state from READY to READY (timeout 30.00s)
vgsm: card1: RX URC: '+CIEV: rssi,4'
vgsm: card1: TX: 'AT^SMOND<cr>'
vgsm: card1: RX: 
'<cr><lf>^SMOND:268,06,D6E3,2D8D,67,107,73,,,0,,,0,268,06,0000,,67,107,73,268,06,D6E3,,75,111,81,268,06,D6E2,07A2,25,114,86,268,06,D6E2,,67,819,90,268,06,D6E3,179B,63,102,97,268,06,D6E3,,63,116,102,0,<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: RX URC: '+CIEV: call,0'
vgsm: card1: TX: 'AT^SLCC<cr>'
vgsm: card1: RX URC: '+CIEV: call,0'
vgsm: card1: RX URC: '+CRING: VOICE'
vgsm: card1: RX URC: '+CLIP: "914388239",161,,,,0'
vgsm: card1: RX: '<cr><lf>^SLCC: 1,1,4,0,0,1,"914388239",161<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
vgsm: card1: TX: 'AT^SLCC<cr>'
vgsm: card1: RX: '<cr><lf>^SLCC: 1,1,4,0,0,1,"914388239",161<cr><lf>'
vgsm: card1: RX: '<cr><lf>OK<cr><lf>'
    -- Executing NoOp("VGSM/card1/1", "s") in new stack
    -- Executing Set("VGSM/card1/1", "callednum=967448163") in new stack
    -- Executing Dial("VGSM/card1/1", "SIP/[EMAIL PROTECTED]|60") in new stack
    -- Called [EMAIL PROTECTED]
    -- SIP/main-081d5188 is ringing
vgsm: vgsm_indicate 3
Falha de segmentação

Anyone can help?


_______________________________________________
Visdn-hackers mailing list
[email protected]
https://mailman.uli.it/mailman/listinfo/visdn-hackers

Reply via email to