IAX Trunk

  • Post
    MAX202
    Participant

    Hi,

    i have a new problem, my provider needs on iax rdnis

    so i have no plan where to insert it

    max

    0
Viewing 4 replies - 1 through 4 (of 4 total)
  • Replies
    MAX202
    Participant
    Up
    0
    Down

    is there a way to add something like Set(CALLERID(number)=${CALLERID(rdnis)}) in the dialplan.

    Over the frontend would be realy nice, so for my colleague it would be easier to see whats going on.

    I did test it on Dial Profiles but i am not sure if its the right place and the right command at these position,

    or is the right place on >> Technology >> Profiles >> IAX2 >> Advanced

    but on these tab i had no idea where is the right syntax for these option fields

     

     

    0
    MAX202
    Participant
    Up
    0
    Down

    my Telco told i should try better these

    Set(CALLERID(rdnis)=${CDR(accountcode)})

    and set the outgoing number in these field, but the rdnis is not shown at him, so i am not able to call out

    telco needs this for clip no screening so that it knows where the call comes from

     

    at the moment this problem is a real show stopper

    0
    Up
    0
    Down

    You may put this on the file /etc/asterisk/ombutel/extensions__20-baseplan.conf, in the context  “sub-construct-cid“.

    [sub-construct-cid]
    ..
    ..
    .. exten => s-external,1,NoOp(Setting External CID)
    ..
    ..
    same => n,Set(CALLERID(rdnis)=${CDR(accountcode)})
    same => n,GotoIf($["${EMERGENCY_CALL}"="yes"]?:info)
    same => n,Set(CALLERID(all)=${EMERGENCY_CID})
    same => n(info),NoOp(CID Name: ${CALLERID(name)}, CID Number: ${CALLERID(num)})
    ..
    ..
    same => n,Return()
    0
    MAX202
    Participant
    Up
    0
    Down

    cool

    its working yeah  ? 

    so next step on migration

    BIG THX MRIVERA

    0
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘IAX Trunk’ is closed to new replies.