[asterisk-users] Orginate not working well with PSTN lines

Jim Dickenson dickenson at cfmc.com
Tue Apr 26 08:28:48 CDT 2011


"Originate successfully queued" only means that the originate action was handed off to asterisk not that is was executed yet. There are other events, depending on which events you are "reading", that tell you the call was answered and such.
-- 
Jim Dickenson
mailto:dickenson at cfmc.com

CfMC
http://www.cfmc.com/



On Apr 26, 2011, at 2:43 AM, Ashik Ali wrote:

> Dear all,
> 
> I am from Saudi  Arabiya and I am using digium hardware with asterisk 1.6.
> 
> When I am executing following AMI originate API. Orginate start to
> execute extenstion without knowing of PSTN(FXO) channel is ringing.
> 
> Any one can help me to  resolve this issue ?
> 
> Action: Originate
> Channel: Dahdi/g0/2923878
> Context: outbound-ivr
> Exten: 1234
> Priority: 1
> ActionID: ABC45678901234567890
> 
> 
> Response: Success
> ActionID: ABC45678901234567890
> Message: Originate successfully queued
> 
> 
>  -- Remote UNIX connection disconnected
>> Channel DAHDI/1-1 was answered.
>    -- Executing [1234 at outbound-ivr:1] SayDigits("DAHDI/1-1", "1234")
> in new stack
>    -- <DAHDI/1-1> Playing 'digits/1.gsm' (language 'en')
>    -- <DAHDI/1-1> Playing 'digits/2.gsm' (language 'en')
>    -- <DAHDI/1-1> Playing 'digits/3.gsm' (language 'en')
>    -- <DAHDI/1-1> Playing 'digits/4.gsm' (language 'en')
>    -- Executing [1234 at outbound-ivr:2] Playback("DAHDI/1-1",
> "demo-congrats") in new stack
>    -- <DAHDI/1-1> Playing 'demo-congrats.gsm' (language 'en')
>    -- Executing [1234 at outbound-ivr:3] Hangup("DAHDI/1-1", "") in new stack
>  == Spawn extension (outbound-ivr, 1234, 3) exited non-zero on 'DAHDI/1-1'
>    -- Hungup 'DAHDI/1-1'
> 
> 
> Thanks & Regards,
> Ashik
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list