2011/10/31 Jeroen Eeuwes <[email protected]>:
> Hi Josu,
>
>> How could I make to redirect the call to the 103 extension?
>
> In the sip.conf you have to put the correct context of your
> SPA3102-peer/friend. So put a line like
>
> context=entradas_pstn
>
> there. That should get it out of the "default" context it is now going
> to. Your "s" extension in entradas_pstn is already dialling to SIP/103
> so that should be OK.
>
> Best regards,
> Jeroen Eeuwes
>
> --
> _____________________________________________________________________
> -- 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
>

Thanks Jeroen!!! It works!

  == Using SIP RTP CoS mark 5
    -- Executing [s@entradas_pstn:1] Dial("SIP/pstn-00000002",
"SIP/103,20,tm") in new stack
  == Using SIP RTP CoS mark 5
    -- Called 103
    -- Music class default requested but no musiconhold loaded.
    -- SIP/103-00000003 is ringing
  == Spawn extension (entradas_pstn, s, 1) exited non-zero on
'SIP/pstn-00000002'

Now I have a working Asterisk system at home, best regards.

-- 
Josu Lazkano

--
_____________________________________________________________________
-- 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

Reply via email to