[Asterisk-Users] Problem with hangup

Marc Storck mstorck at luxadmin.org
Tue Sep 14 16:57:49 MST 2004


Hello,

I have an E1 connected to an * server, which takes incoming calls and 
verifies the existance of the called number in our internal E164 tree.

Now there is a number that exists on one of the servers, but the phone 
has registered itself, so the dial plan executes an hangup. This hangup 
however is not transmitted to the E1, the calling party hears no dial 
tone, but also no hangup or congestion or anything else just nothing.

This is the console log of the E1 server passing the call via e164 
resolution an SIP to another server:

     -- Executing EnumLookup("Zap/1-1", "1234567890") in new stack
     -- Accepting call from '' to '1234567890' on channel 0/1, span 1
     -- Executing SetAccount("Zap/1-1", "0.00") in new stack
     -- Executing Dial("Zap/1-1", 
"SIP/1234567890 at host.domain.tld|180|r") in new stack
     -- parse_srv: SRV mapped to host host.domain.tld, port 5060
     -- Called 1234567890 at host.domain.tld
     -- SIP/host.domain.tld-b41e answered Zap/1-1
   == Spawn extension (PRI, 1234567890, 3) exited non-zero on 'Zap/1-1'
     -- Executing Hangup("Zap/1-1", "") in new stack
   == Spawn extension (PRI, h, 1) exited non-zero on 'Zap/1-1'
        > cdr_odbc: Query Successful!
     -- Hungup 'Zap/1-1'

On the SIP server i see the following:

     -- Executing Macro("SIP/1.2.3.4-08442ea8", 
"callextmbx|1234567890|SIP/1234567890|abc") in new stack
     -- Executing SetMusicOnHold("SIP/1.2.3.4-08442ea8", "abc") in new stack
     -- Executing Dial("SIP/1.2.3.4-08442ea8", "SIP/1234567890|60|r") in 
new stack
Sep 15 01:51:16 NOTICE[1147739056]: app_dial.c:739 dial_exec Unable to 
create channel of type 'SIP'
   == Everyone is busy/congested at this time
     -- Executing GotoIf("SIP/1.2.3.4-08442ea8", "1?3:104") in new stack
     -- Goto (macro-callextmbx,s,3)
     -- Executing VoiceMail("SIP/1.2.3.4-08442ea8", "u1234567890") in 
new stack
Sep 15 01:51:16 WARNING[1147739056]: app_voicemail.c:1962 
leave_voicemail: No entry in voicemail config file for '1234567890'
     -- Executing VoiceMail("SIP/1.2.3.4-08442ea8", "b1234567890") in 
new stack
Sep 15 01:51:16 WARNING[1147739056]: app_voicemail.c:1962 
leave_voicemail: No entry in voicemail config file for '1234567890'
     -- Executing Hangup("SIP/1.2.3.4-08442ea8", "") in new stack
   == Spawn extension (macro-callextmbx, s, 105) exited non-zero on 
'SIP/1.2.3.4-08442ea8' in macro 'callextmbx'
   == Spawn extension (CONTEXT, 1234567890, 1) exited non-zero on 
'SIP/1.2.3.4-08442ea8'
     -- Executing Hangup("SIP/1.2.3.4-08442ea8", "") in new stack
   == Spawn extension (CONTEXT, h, 1) exited non-zero on 
'SIP/1.2.3.4-08442ea8'
        > cdr_odbc: Query Successful!

When I call from another VoIP device it just works fine!

I hope someone has some help! ;-)

Regards,

Marc
-- 
CTO                            Marc Storck
MS Networks SA                 mstorck at luxadmin.org
Internet Service Provider      http://www.luxadmin.org
15, route d'Esch               Phone: +352 2727 3030
L-4544 Belvaux                 Fax:   +352 2727 3060

-------------- LuxAdmin powered service ---------------
http://www.Gateway.lu          Your gateway to the net

      Advantages of ADSL solutions by LuxAdmin:
              - price: cheap and clear
              - products: proven quality
              - support: friendly and helpful
-------------------------------------------------------



More information about the asterisk-users mailing list