HI, I have successfully configured asterisk to accept SIP session from sip phones and use oh323 to forward calls to our gateway using H323 and eventually PSTN termination. But since some of the gateways are not in our control, we need to send tech-prefix + phone number to third parties. I am wondering if asterisk or oh323 would handle that. Shall it be configured via extension.conf or oh323.conf? Does anyone has any sample config for that or if someone would show me where to find docs. Thanks. Regards, Anthony
Anthony Law wrote:> HI, > > I have successfully configured asterisk to accept SIP session from sip > phones and use oh323 to forward calls to our gateway using H323 and > eventually PSTN termination. But since some of the gateways are not in our > control, we need to send tech-prefix + phone number to third parties. I amYou can send the whole number inside the Dial application: exten => _1XXX,1,Dial(OH323/${EXTEN}@<GW_addr>) Here, ${EXTEN} will be sent to the gateway.> wondering if asterisk or oh323 would handle that. Shall it be configured via > extension.conf or oh323.conf? Does anyone has any sample config for that or > if someone would show me where to find docs. Thanks. > > > > Regards, > > > > Anthony > >Michael.
Hi I have tired using the below syntax but could't go through, I wonder if my syntax is wrong. Please kindly comment. Btw I am using asterisk-0.7.1 with oh323-0.5.7 exten => _1613XXXXXXX,1,Dial,OH323/8750${EXTEN}@192.168.3.66 Error Below Mar 12 09:30:01 WARNING[5126]: chan_sip.c:2365 __transmit_response: Unable to determine sequence number from '' Regards, Anthony
Hi,> exten => _1613XXXXXXX,1,Dial,OH323/8750${EXTEN}@192.168.3.66>This should work. Provide a more detailed Asterisk log to trace the >problem.Sorry. It was my mistake. I believe it works now Could * at the same time take h323 packets from let say a cisco gateway and pass it through another softswitch? I have tried setting up cisco gateway (using h323)to voip packets to * but I instantely got disconnected and gives out below error. Can you please tell me what I am doing wrong. Mar 15 16:22:35 WARNING[18451]: channel.c:1856 ast_channel_make_compatible: No path to translate from H323:1629(256) to H323:19928(1) Mar 15 16:22:35 WARNING[18451]: channel.c:2245 ast_channel_bridge: Can't make H323:1629 and H323:19928 compatible Mar 15 16:22:35 WARNING[18451]: res_parking.c:226 ast_bridge_call: Bridge failed on channels H323:1629 and H323:19928 Should the setup be done within oh323.conf? Is there documentation on how to do it? Regards, Anthony