[asterisk-users] auto-answer call

Salaheddine Elharit salah.elharit200 at gmail.com
Thu Feb 6 09:55:34 CST 2014


hi

when i try to this with page()

exten => 506,1,SIPAddHeader("Call-Info:__\; answer-after=0")
exten => 506,n,page(SIP/105)

CLI>Accepting call from '0661xxxxxx' to '506' on channel 1/13, span 1
    -- Executing [506 at default:1] SIPAddHeader("DAHDI/13-1", ""Call-Info:__;
answer-after=0"") in new stack
    -- Executing [506 at default:2] Page("DAHDI/13-1", "SIP/105") in new stack
    -- Called 105
    -- <DAHDI/13-1> Playing 'beep' (language 'en')
    -- SIP/105-000000c7 is ringing
    -- SIP/105-000000c7 is ringing
    -- SIP/105-000000c7 is ringing
    -- Created MeetMe conference 1023 for conference '1894843837d'
    -- SIP/105-000000c7 is ringing
    -- Span 1: Channel 1/13 got hangup, cause -1
    -- Hungup 'DAHDI/pseudo-358137724'
  == Spawn extension (default, 506, 2) exited non-zero on 'DAHDI/13-1'
    -- Hungup 'DAHDI/13-1'

and the call hungup

when i use the Dial the sip/105 still ringing

thanks and regards




2014-02-05 Larry Moore <lmoore at omninet.net.au>:

> On 6/02/2014 2:21 AM, Salaheddine Elharit wrote:
>
>> thanks for your response ,
>>
>> i test this solution but the issue still the same
>>
>> any other solution
>> thanks and regards
>>
>>
>> 2014-02-04 Steve Edwards <asterisk.org at sedwards.com
>> <mailto:asterisk.org at sedwards.com>>:
>>
>>
>>     On Tue, 4 Feb 2014, Salaheddine Elharit wrote:
>>
>>         i have asterisk 1.4.43 installed and i want to configure the
>>         auto-answer
>>
>>         exten => 506,1,SIPAddHeader("Call-Info:__\; answer-after=0")
>>
>>
>>
>>     I'm just a 1.2 Luddite...
>>
>>     I have this for a Sipura:
>>
>>              exten = _!.,n,sipaddheader(Call-Info:\__;answer-after=0)
>>
>>
>>     Maybe the quotes or the space after the semi-colon?
>>
>>     Maybe wireshark would yield a clue?
>>
>>     --
>>     Thanks in advance,
>>
>
> Here is a list of headers used for various vendors, I can't remember which
> one is for Polycom.
>
>
> SIPAddHeader(Alert-Info: Ring Answer);
> SIPAddHeader(Alert-Info: Info=Alert-Autoanswer);
> SIPAddHeader(Call-Info:\;Answer-After=0);
> SIPAddHeader(P-Auto-Answer: normal);
> SIPAddHeader(Answer-Mode: Auto);
>
> Larry.
>
>
> --
> _____________________________________________________________________
> -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140206/02692d4d/attachment.html>


More information about the asterisk-users mailing list