forwarding call trough a specific trunk 2 |
 |
Hi Diafora,
I exactly did what you suggested me in the other thread:
"The trick is not to restrict the Outbound Route to a specific extension, but to match the number in the Custom Dial Pattern with the number of the Classic extension. This way the outbound call will select the best matched route, and direct the call towards the trunk you have selected"
It does not work at all. Below you will find the log:
Feb 17 11:28:08 VERBOSE[31903] logger.c: -- SIP/redbulco-403-1a68 is ringing
Feb 17 11:28:25 VERBOSE[31903] logger.c: -- Nobody picked up in 18000 ms
Feb 17 11:28:25 VERBOSE[31903] chan_sip.c: Hangup call SIP/redbulco-403-1a68, SIP callid 20bc9a8656ad8bb11b804864280b5a35@188.40.65.170
Feb 17 11:28:25 VERBOSE[31903] logger.c: -- Called 405@from-internal/n
Feb 17 11:28:25 VERBOSE[32437] logger.c: -- Called 003934212XXXXX@from-internal/n
Feb 17 11:28:25 NOTICE[32447] app_dial.c: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
I created a classical extension with number 405 connected to a mobile number, i created an outbound route with custom dial pattern 405.
As you can see in the log it says Unable to create channel of type 'SIP' (cause 3 - No route to destination).
If in the custom dial pattern i put the real mobile number it works. But this is not what I am looking for.
Could you please look into this matter a little bit more deep ?
Thanks for your patience.
Regards
Patrick
|