Viewing 2 posts - 1 through 2 (of 2 total)
  • Migrated from old forum
    Participant
    Post count: 327
    #5952 |

    I’ve got multiple phone numbers coming in on a SIP trunk. I need to route based on the value of the dialed number. I tried to use Channel Variable EXTEN = 916XXXYYYY but it appears that the extension is not the correct variable to use. I’m seeing the value for DID set to the dialed number (SIP DEBUG in Asterisk), but can’t find that variable in the GotoIf. How should I accomplish this?

    Migrated from old forum
    Participant
    Post count: 327
    #5953 |

    Here is a simple example on how to save the dialed number and use it later in the dial plan:
    http://www.apstel.com/while-loop/how-to-save-dialed-number/

    Thorm

    • This reply was modified 10 years, 6 months ago by  admin.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.