redirect pri calls to outbound sip trunk

Discussion in 'General' started by iraj.kheirati, Oct 2, 2009.

  1. iraj.kheirati

    Joined:
    Dec 4, 2008
    Messages:
    47
    Likes Received:
    0
    Dear All

    i trunked an elastix to a pabx with PRI card(dahdi trunk).and i registered fxo gateway (sip trunk) too.
    in example :

    elastix extensions, when dial 39xx redirected to sip trunk and all things working very well.(means with outbound route redirected to out with fxo ports).

    and i telled in PABX too,extension when dial 39xx, redirected to PRI and this happen.
    ,but when dials come in to elastix .elastix does not know 39xx numbers .but i designed this numbers in outbound route .

    how i can redirect PABX dials to sip trunk?



    thanks
     
  2. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    The easiest way is to give the SIP trunk the context of from-internal, that of course is very insecure, so be careful, disallow anonymous sip connections, have a catchall inbound route that hangs up, and watch your logs.
     
  3. iraj.kheirati

    Joined:
    Dec 4, 2008
    Messages:
    47
    Likes Received:
    0
    Dear dicko

    thanks for direct.

    ok working now.


    thanks
     

Share This Page