[EMAIL PROTECTED] wrote:
> i followed what you said didint work heres what console says i cant
> do the 1800 call anyway 
> 
>   -- Executing Macro("SIP/101-8376", "callerid-pstn") in new stack
>     -- Executing SetVar("SIP/101-8376", "SIP_CODEC=g729") in new
stack
>     -- Executing Dial("SIP/101-8376", "SIP/[EMAIL PROTECTED]") in new
> stack 
>     -- Called [EMAIL PROTECTED]
>     -- SIP/fwd-2e46 is making progress passing it to SIP/101-8376
>     -- SIP/fwd-2e46 answered SIP/101-8376
>   == Spawn extension (asterisk, 18006927753, 3) exited non-zero on
> 'SIP/101-8376' 
>     -- Executing Macro("SIP/101-c43c", "callerid-pstn") in new stack
>     -- Executing SetVar("SIP/101-c43c", "SIP_CODEC=g729") in new
stack
>     -- Executing Dial("SIP/101-c43c", "SIP/[EMAIL PROTECTED]") in new
> stack 
>     -- Called [EMAIL PROTECTED]
>     -- SIP/fwd-bc38 is making progress passing it to SIP/101-c43c
>     -- SIP/fwd-bc38 answered SIP/101-c43c
>   == Spawn extension (asterisk, 18006927753, 3) exited non-zero on
> 'SIP/101-c43c' 

You need to modify the lines in extensions.conf to match your
configuration:

Try this:

exten => _1800NXXXXXX,1,SetVar(SIP_CODEC=g729)
exten => _1800NXXXXXX,2,Dial(SIP/[EMAIL PROTECTED])


_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to