[Asterisk-Users] FWD <> SIP <> Asterisk <> IAX <> Firefly

Darrin Johnson djohnson at isdomaininc.com
Wed Apr 21 11:21:35 MST 2004


Hello,

In my sip.conf I have:

;Register and forward FWD numbers to internal extensions

register => FWDNUMBER:PASSWORD at fwd.pulver.com/9500

Which should register Asterisk at FWD and then when any calls are made to
FWDNUMBER those calls should be forwarded to extension 9500 as specified in
the extensions.conf.

What I am getting is it is trying to dial the 9500 (IAX Firefly) client
twice when a call is made to FWDNUMBER.  The output from the CLI from
Asterisk is this:

-- Registered '9500' (AUTHENTICATED) at 10.10.20.5:4569
    -- Executing Macro("SIP/-080fbd10", "stdExt|IAX2|9500") in new stack
    -- Executing Dial("SIP/-080fbd10", "IAX2/9500|15") in new stack
    -- Called 9500
    -- Call accepted by 10.10.20.5 (format GSM)
    -- Format for call is GSM
    -- IAX2[9500]/3 is ringing
    -- Executing Macro("SIP/-0814f210", "stdExt|IAX2|9500") in new stack
    -- Executing Dial("SIP/-0814f210", "IAX2/9500|15") in new stack
    -- Called 9500
Apr 21 11:14:37 WARNING[1158883648]: chan_iax2.c:4898 socket_read: Call
rejected by 10.10.20.5: In call
    -- Hungup 'IAX2[9500]/4'
  == No one is available to answer at this time
    -- Executing VoiceMail("SIP/-0814f210", "u9500") in new stack
    -- Playing 'vm-theperson' (language 'en')
    -- Hungup 'IAX2[9500]/3'
  == Spawn extension (macro-stdExt, s, 1) exited non-zero on 'SIP/-080fbd10'
in macro 'stdExt'
  == Spawn extension (default, 9500, 1) exited non-zero on 'SIP/-080fbd10'
    -- Playing 'digits/9' (language 'en')
    -- Playing 'digits/5' (language 'en')
    -- Playing 'digits/0' (language 'en')
    -- Playing 'digits/0' (language 'en')
    -- Playing 'vm-isunavail' (language 'en')
    -- Playing 'vm-intro' (language 'en')
    -- Playing 'beep' (language 'en')
Apr 21 11:14:49 WARNING[1142106688]: chan_sip.c:497 retrans_pkt: Maximum
retries exceeded on call 56da75f25ec
25c777d2ad4dd52ebd0e1 at 65.39.205.121 for seqno 104 (Response)
  == Spawn extension (macro-stdExt, s, 2) exited non-zero on 'SIP/-0814f210'
in macro 'stdExt'
  == Spawn extension (default, 9500, 1) exited non-zero on 'SIP/-0814f210'

Does anyone know why it is doing this?  Have any suggestions?  It worked
yesterday well and then today I have been getting the above where when it
dials the second time it goes to voicemail because the 9500 extension is "in
use".

Thanks for the help!

Darrin







More information about the asterisk-users mailing list